I've been using the RadWindow.RadAlert as an error popup in a number of situations, usually in various RadGrid events.
Now I have an aspx that I'm calling from within a Radgrid using a window.radopen call. Once the window is open, it's closed by hitting a RadButton and generating a ClientScript.RegisterStartupScript(Page.GetType(), "", "CloseAndRebind();", true) in it's OnClick event. This is all pretty much based on your demos.
However in this event I have error trapping and what I want to do is when the code errors out is to instead generate an error popup. What I have within the catch statement is a RadWindowManager.RadAlert and a return. This is not working.
Suggestions?
Now I have an aspx that I'm calling from within a Radgrid using a window.radopen call. Once the window is open, it's closed by hitting a RadButton and generating a ClientScript.RegisterStartupScript(Page.GetType(), "", "CloseAndRebind();", true) in it's OnClick event. This is all pretty much based on your demos.
However in this event I have error trapping and what I want to do is when the code errors out is to instead generate an error popup. What I have within the catch statement is a RadWindowManager.RadAlert and a return. This is not working.
Suggestions?