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 8375927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:18:04+00:00 2026-06-09T15:18:04+00:00

I am a newbie to asp.net mvc 3. How can you render a view

  • 0

I am a newbie to asp.net mvc 3. How can you render a view within a div by calling an action:

html:

<div id="dialog-modal" title="Basic modal dialog">
 @Html.RenderAction("Popup","Home");
</div>

c#:

public  ActionResult Popup()
    {
       return PartialView();
    }

I am getting an error:

The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)' has some invalid arguments
  • 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-06-09T15:18:05+00:00Added an answer on June 9, 2026 at 3:18 pm

    Try wrapping your HtmlHelper in a code block:

    @{ Html.RenderAction("Popup", "Home"); }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey all, this is a newbie ASP.NET MVC question. I have a view that
I'm an ASP.NET MVC newbie, but have used many Model-View-Controller frameworks previously. I recently
I'm quiet newbie to ASP.NET MVC world. In Web Form we can write a
Yet another newbie with ASP.NET MVC! All I intend to do is for a
I'm an asp.net newbie. I have inherited a base of asp.net mvc code and
I am using ASP.NET MVC 3 and I am a newbie at it. I
I'm a newbie to all this ASP.NET MVC stuff, and I was making some
I'm a total newbie at Entity Framework and ASP.Net MVC, having learned mostly from
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
I'm a newbie to ASP.NET MVC. I've been learning MVC 3 for the past

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.