Javascript Function Not Working After Postback?
Here i am trying to increase the height of the iframe after postback but it is not working and the alert itself is not popping up.Here is my code function increaseiframesize() { al
Solution 1:
I think you are trying to call your method after the ajax request is sent and completed and control get back to browser. The javascript that is supposed to execute onload of form does not execute for ajax all. If it is ajax call then do this
Register endRequest event in javascript
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler)
Call your method here
function EndRequestHandler(sender, args)
{
increaseiframesize();
}
Post a Comment for "Javascript Function Not Working After Postback?"