在通過形式.__ EVENTTARGET.value undeffined在JS
ASPX代碼
<%= GetPostBackReference() %>;
上的代碼
我對.NET 4.0 webforms.app通話_doPostBack後背後
protected string GetPostBackReference()
{
return Page.ClientScript.GetPostBackEventReference(ReloadThePanel,"null");
}
轉化爲
__doPostBack('ctl00$cntMain$ReloadThePanel','null');
in form
<!-- update panel -->
<asp:UpdatePanel ID="updPanelSave" ClientIDMode="Static" runat="server">
<ContentTemplate></ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ReloadThePanel" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<!-- hidden button for update panel -->
<asp:LinkButton ID="ReloadThePanel" runat="server" style="display:none;" />
第一阿賈克斯回發後一切正常,就後同一頁上的另一個AJAX回傳扔JS異常
形式.__ EVENTTARGET.value中(的ScriptResource.axd undeffined
...動態代碼)
_doPostBack:功能PageRequestManager $ _doPostBack(的eventTarget,eventArgument)....
form.__EVENTTARGET.value = eventTarget;
form.__EVENTARGUMENT.value = eventArgument;
this._onFormSubmit();
我做錯了什麼?它與梅比http://www.hanselman.com/blog/IE10AndIE11AndWindows81AndDoPostBack.aspx 問題同樣isue僅適用於即11,8 USW .. Chrome和FF行之有效 感謝名單