RadControls version |
RadWindow for ASP.NET AJAX
|
.NET version |
2.0
|
Visual Studio version |
2008
|
programming language |
VB.NET
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
The attached user control (I called it RadMsgBox) provides a user control with methods for launching radprompt, radalert and radconfirm from a server code behind page. I found that running these controls from client code only too restricting,
To use this control, simply add a single reference to your page (example attached) and add the control library to your project. Then, on the code-behind page, you can call methods for multiple rad client windows directly from the server from a single instance of this control.
It's important that your page has a RadWindowManager prior to the instansiation of the control on the page.
The following methods have been defined:
SetConfirmation - attach a radconfirm window to a control such as an ASP button
SetPrompt - attach a radprompt window to a control such as an ASP button
SetAlert - attach a radalert window to a control such as an ASP button
ShowConfirmation - call radconfirm directly inline from server side code
ShowPrompt - call radprompt directly inline from server side code
ShowAlert - call radalert directly inline from server side code
Note that an important feature of this control is its ability to call multiple instances of radconfirms and radprompts from a single RadMsgBox (feel free to change the name telerik folks ;-) by utilizing a "key" string value that is interrogated via a server postback.
This has helped me out a lot, I hope someone finds it useful.
-David
NOTE: I have removed an reference in the projects attached to Telerik.Web.UI.dll, so you need to
use your own licensed copy ;-)