Scriptmanager RegisterStartupScript does not work with callbacks

I use a third-party user interface library (devexpress) to implement some data grids. These grids work with callbacks (and not with partial UpdatePanel callbacks).

I am trying to use Scriptmanager RegisterStartupScript to execute some code on the client after a callback. This works fine with partial reverse processing, but does not work with Callbacks.

Is there a way to queue on client code to execute a callback server side handler inside?

thank

+3
source share
2 answers

, , , , .

0

: ?
, , , , :

    <script language="javascript" type="text/javascript" id="forModalPopUp">
         var prm =  Sys.WebForms.PageRequestManager.getInstance();

         prm.add_initializeRequest(InitializeRequest);
         prm.add_endRequest(EndRequest);

         function InitializeRequest(sender, args) {

         }
         function EndRequest(sender, args) {

         }

    </script>

: http://oysterleelife.blogspot.com/2012/05/scripmanager-error-in-updatepanel.html

, . .

0

Source: https://habr.com/ru/post/1790711/


All Articles