I get this error in the update panel inside popupControlExtender, which is located in dragPanelExtender.
I see that many other people have this problem and have various fixes, none of which worked for me.
I would like to hear a logical explanation of why this is happening, and a reliable way to avoid such problems in the future.
I found that, like others, this error does not occur when the trigger is LinkButton and not ImageButton, still wondering if anyone has an explanation.
, UpdatePanel "async" . , , ( , popupControlExtender - , show/hide).
, - , script (, ).
, "this._postbackSettings.async" - AJAX.NET, , . , , postback ( postback , ).
... , " " !
, http://siderite.blogspot.com/2009/02/thispostbacksettingsasync-is-null-or.html, , .
, :
var script = @" if (Sys && Sys.WebForms && Sys.WebForms.PageRequestManager && Sys.WebForms.PageRequestManager.getInstance) { var prm = Sys.WebForms.PageRequestManager.getInstance(); if (prm && !prm._postBackSettings) { prm._postBackSettings = prm._createPostBackSettings(false, null, null); }"; ScriptManager.RegisterOnSubmitStatement( Page, Page.GetType(), "FixPopupFormSubmit", script);
_postBackSettings, , , _postBackSettings.async.
, ,
G.
Settign "EnablePartialRendering" false ScriptManager , . , .
Just for the record, I didnβt do exactly the same as other people who saw the mistake. I have a PopupControlExtender in which there is a checkboxlist. I added a select all link using the javascript method to programmatically select / deselect. I do not use Imagebutton. I did not see the error before adding javascript, and now even after removing it, the error remains. There must be another change that I am missing.
I hope this helps someone ...
- Matt
Source: https://habr.com/ru/post/1696822/More articles:How can I stop losing the entire position of the IDE window when I click the debug start button? - visual-studio-2008What are some errors when redirecting .net from 2.0 to 3.5? - .netC # graph trace - tracking path between any two nodes - c #.NET Date Const (with globalization) - datetimeGPS and Embedded Development - Where can I find resources? - embeddedSave registry values ββin WinCE using a C # application - c #Sporadically slow calls from a .NET application for SQL Server - sql-server-2005BufferedGraphicsContext Error - multithreadingWhat is the minimum resolution for Sql Server 2005 services set? - securitygood C # asp.net open source project for learning code - c #All Articles