Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7308089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:30:35+00:00 2026-05-28T23:30:35+00:00

I am trying to render a partial view within my main view. however, I

  • 0

I am trying to render a partial view within my main view. however, I am getting the error:

The partial view ‘CompletedJobParts’ was not found or no view engine
supports the searched locations. ~/Views/Jobs/CompletedJobParts.aspx
~/Views/Jobs/CompletedJobParts.ascx
~/Views/Shared/CompletedJobParts.aspx
~/Views/Shared/CompletedJobParts.ascx
~/Views/Jobs/CompletedJobParts.cshtml
~/Views/Jobs/CompletedJobParts.vbhtml
~/Views/Shared/CompletedJobParts.cshtml
~/Views/Shared/CompletedJobParts.vbhtml

(sorry about formatting)…

the physical layout (location) of my view is
Views/MDT/Jobs/CompletedJobParts.cshtml and I’m trying to call it from a view in the same location (ie Views/MDT/Jobs/Index.cshtml). I thought it may be a routing issue so I entered:

   routes.MapRoute(
        "MDT",
        "MDT/{controller}/{action}/{id}",
        new { controller = "Home", action = "Index", id = UrlParameter.Optional }
        );

into my Global.asax.cs file, but it doesn’t seem to search there either (ie, there’s no MDT section coming up in the locations it’s searching for).

I’m using this to render within index.cshtml:

    <div id="parts_div">
      @{Html.RenderPartial("CompletedJobParts", Model);}
    </div>

What do I need to do to get my View to find my PartialView?

TIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T23:30:35+00:00Added an answer on May 28, 2026 at 11:30 pm

    Since it seems you are calling from a different structured controller, try to specify the path:

      @{Html.RenderPartial("~/Views/MDT/Jobs/CompletedJobParts.cshtml", Model);}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background I'm receiving the following error when trying to render a partial view in
I'm trying to render a partial within a view. When calling the render I'm
I'm trying to render a partial ascx view within another view. I have the
I am trying to render a Partial from within a System.Web.Helpers.WebGrid my model class
I'm trying to render the Devise edit password form within another view because I
So I am trying to render a partial view into my page and I
I am trying to render a partial view in my Site.Master file but I
I'm trying to render a partial view on my master page using Html.RenderAction() in
I am trying to render a model in Direct3D using DrawIndexedPrimitives . However, I
I'm trying to use MVC2 client-side validation in a partial view that is rendered

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.