Updatepanel not working with custom master page in sharepoint 2013 -
I have created a sample update panel in Visual Webbot in SharePoint 2013. This code is working with the default master page (Citeline), but when I apply to the custom master page it will not work.
& lt; Div & gt; & Lt; Br / & gt; & Lt; Asp: UpdatePanel id = "upSetSession" runat = "server" & gt; & Lt; ContentTemplate & gt; Current time: & lt; ASP: Label ID = "LbT Time" Run = "Server" & gt; & Lt; / Asp: label & gt; & Lt; Br / & gt; & Lt; Asp: dropdown list id = "ddlMyList" runat = "server" on-select index change = "ddlMyList_SelectedIndexChanged" AutoPostBack = "true" & gt; & Lt; Asp: ListItem & gt; Choose one & lt; / Asp: ListItem & gt; & Lt; ASP: ListItem & gt; It may be that the & lt; / ASP: ListItem & gt; & Lt; ASP: ListItem & gt; Yes & lt; / ASP: ListItem & gt; & Lt; / ASP: DropDownList & gt; & Lt; / ContentTemplate & gt; & Lt; Trigger & gt; & Lt; Asp: asyncPostBackTrigger ControlID = "ddlMyList" EventName = "Selected Index Changer" / & gt; & Lt; / Trigger & gt; & Lt; / ASP: UpdatePanel & gt; & Lt; / Div & gt; and the code behind:
Secure Zero Page_load (Object Sender, EventArgs E) {} Safe void ddlMyListSelectedIndexChanged (Object Sender, EventArgs e) {lblTime . Text = date time.NEW second. Toasting (); } I already checked the ScriptManager tag and the WebPart Manager inside the SharePointFerm tag in the custom master page.
Finally I got the answer. Me
& lt; Script type = 'text / javascript' & gt; Like using some scripts _spOriginalFormAction = document.forms [0] .action; _spSuppressFormOnSubmitWrapper = true; & Lt; / Script & gt;
Comments
Post a Comment