I have been operating on the assumption that all I had to do create a RadAlert from server side was to call RadWindowManager1.RadAlert("Message", 500, 200, "Another Message", "");
This has worked fine on several complex pages in my project.
I've also created a bare minimal test page and it's worked perfectly there as well.
All the pages have much the same settings and controls (RadScriptManager, RadWindowManager, etc.)
I have this other page with an identical call within a Radbutton click event. When I do it from there I get a
Script controls may not be registered before PreRender crash.
There is nothing particularly exotic about this page. It's just another postback event.
What could possibly be going wrong?
Sorry. Found it. Bad call to unrelated controls in the Prerender.
This has worked fine on several complex pages in my project.
I've also created a bare minimal test page and it's worked perfectly there as well.
All the pages have much the same settings and controls (RadScriptManager, RadWindowManager, etc.)
I have this other page with an identical call within a Radbutton click event. When I do it from there I get a
Script controls may not be registered before PreRender crash.
There is nothing particularly exotic about this page. It's just another postback event.
What could possibly be going wrong?
Sorry. Found it. Bad call to unrelated controls in the Prerender.