ASP.Net MVC Ajax RenderPartial not rendering correctly -
I have an AJAX form which gives a partial view, but is updating instead of the targeted division, when I submit I am shown only partial scene, as far as I can tell, I have everything, as is the way it is believed to be wrong?
& lt;% @ control language = "c #" Inheritance = "System.Movc.ViewUserControl> ApplianceSurvey.Models.Item & gt;" & Gt%; By using {%> & lt;% = Html.Hidden ("itemID", & lt;% (Ajax.BeginForm ("AddSurveysAJAX", new AjaxOptions {UpdateTargetId = "SurveyListContent", InsertionMode = InsertionMode.Replace} Model == Zero? ViewData ["itemID"]: Model.ItemID)%> <% = HTML. Listbox ("Survey"), ['Survey "] as multi sealist% & gt; & Lt ; Input Type = "Submit" value = "& gt; & gt; & gt; & gt; & gt; & gt; HTML = LISTBox (see" Cellshellstel "," DataServices "] as MultiSlectlist)% >> General Nick partial visual AddSurveysAJAX (FormCollection formValues) {// do stuff return PartialView ( "ItemSurveys");}
Comments
Post a Comment