RegisterClientScriptBlock within AJAX method call

后端 未结 5 1406
长情又很酷
长情又很酷 2020-12-09 12:53

I am trying to RegisterClientScriptBlock in a method that is only called via an AJAX call. It doesn\'t appear to actually register the script on the page and I\'m guessing

5条回答
  •  情书的邮戳
    2020-12-09 13:18

    As far as I know for this you would be forced to be calling this method via a PostBack and not an ajax call. There may be OTHER ways of doing this, but it is not possible with Page.ClientScript....

提交回复
热议问题