Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

ModalPopupExtender + ScriptManager

$
0
0

Hi,

I have a custom control which uses ScriptManager to call various JavaScript functions.

I have a situation where I have an aspx page with an instance of my custom control and all the functions execute correctly.

I also have an instance of my custom control on a ajax:ModalPopupExtender. None of my JavaScript functions will execute except for the "built-in" functions such as 

window.onload

or ones that are triggered from client-side attributes such as

e.Row.Attributes("onkeydown") = "return ProcessKeyDown(event, '" & sEdit & "');"

Any other JavaScript function executed from code such as

ScriptManager.RegisterStartupScript(Me, Me.GetType, "ShowAlert", "ShowAlert('Why wont this work?');", True)

doesn't work.

Hoping someone has some ideas?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>