Questions tagged [partialviews]

21 questions
0
votes
1 answer

MVC3 - parameter value always null

I'm trying to make an "advanced search" view, using two partial views and Ajax. I defined a "SearchFilter" entity having as properties all the available search criteria. On submit in the "_Filter" partial view (the OnSuccess AjaxOption), I need to…
Furnica
  • 199
  • 3
  • 15
0
votes
1 answer

ASP.NET MVC, Loading forms via PartialViews

I am developing an application using ASP.Net MVC and jQuery. Depending on users action, I load partial views into the page using jQuery's $.ajax method. The problem, I am experiencing, is related to a particular partial view that contains a form,…
UncleZen
  • 289
  • 1
  • 4
  • 22
0
votes
0 answers

Can mapping class to itself using automapper be a good a solution to break up big views?

I have a pretty long model class with lots of properties and navigation fields. public class Customers { public Customers() { this.Files = new HashSet(); } public int CustomerID { get; set; } public int…
0
votes
2 answers

jquery button in pop up

I used index.js file to write the code for create and open the popup on button click. Partial view is invoked as a popup. $("#createForm").dialog({ autoOpen: false, modal: true, width: 550, height: 420, open: function(event,…
Sahil Saini
  • 250
  • 5
  • 11
0
votes
0 answers

ASP.NET MVC error handling - display it on same partial view

I have a similar problem like it is described here I would like to have a generalized error handling mechanism for the controllers, if an error occurs I would like to display the same view where the error occured with added errors to the…
0
votes
1 answer

Reloading main view after button in PartialView is clicked

I have a partial view that the user can preform a search in, and the search results are shown in a select box. In my main view I have a section that is supposed to show the search results after a select button is pressed. Right now when I click the…
gblock
  • 790
  • 4
  • 11
  • 25
1
2