Top "Partial-views" questions

User control in Asp.

Post a form with multiple partial views

I'm currently trying to post a form composed of two strongly typed views. This question is similar but it doesn't …

asp.net-mvc asp.net-mvc-3 razor http-post partial-views
Unobtrusive validation not working on dynamically-added partial view

I am currently facing a problem with validation after dynamically adding content. I have a view strongly typed to a …

asp.net-mvc razor partial-views unobtrusive-validation dynamically-generated
Include JavaScript file in partial views

I am wondering what the best practice is for including javascript files inside partial views. Once rendered this will end …

javascript jquery asp.net-mvc partial-views
Rendering a simple ASP.NET MVC PartialView using JQuery Ajax Post call

I have the following code in my MVC controller: [HttpPost] public PartialViewResult GetPartialDiv(int id /* drop down value */) { PartyInvites.Models.…

ajax asp.net-mvc jquery partial-views
ASP.Net MVC Passing multiple parameters to a view

In ASP.Net MVC I would like to render a different partial view depending on the renderview query string parameter. …

asp.net-mvc views partial-views
Rendering partial with locals in Haml?

I am learning Haml. My view files are like: show.html.haml: .content = render 'meeting_info', :locals => { :info => @…

ruby-on-rails haml partial-views
How to execute JavaScript function on PartialView load in MVC 3

\\code public ActionResult mapPartial(DataTable dt) { string strEvents = "["; foreach (DataRow row in dt.Rows) { strEvents += "[" + row["Lat"].ToString() + ", " + row["Long"].…

javascript asp.net-mvc partial-views
defining jquery ready event in Partial View

I have defined a $(document).ready() event in Site.Master page and I also want to define another $(document).ready() …

jquery asp.net-mvc partial-views document-ready domready
Disable caching on a partial view in MVC 3

I have an issue with a partial View being cached when it shouldn't be. This partial View is used to …

c# asp.net-mvc-3 caching partial-views outputcache
ASP.NET MVC 3 Partial View in layout page

I'm working on setting up a shared content (navigation) for an asp.net MVC layout page. Here is my partial …

asp.net asp.net-mvc-2 partial-views