Hi Green,
From your description, you used a helper class to register some client
scripts in your asp.net page(calling the Page.RegisterStartupScript) ,but
find the registered script not work, yes?
I'm not sure the detailed code logic in your asp.net page. Where did you
call your helper function, the
"ui.Alert"? From my local test, it works well when I just use a helper
class to register startup script in the page's button_click post back
event. I think you can first try directly use the
Page.RegisterStartupScript in your page instead of using the helper class ,
also test in a simple empty page( get rid of the other potential issues) to
see whether the problem still occurs.
In addittion, if you feel it convenient that provide the detailed code of
your problem page here, we can do some further troubleshoot on our side.
Please feel free to post here if you have any questions. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)