6 Answers, 1 is accepted
You can go through the folowing online demo link which demonsatrates how to get a modal alert using RadWindow.
Alert, Prompt, Confirm
Thanks
Princy.
Hi..
This does not solve my problem.
I need to show the modal window and then continue with a redirect , all from code behind. How can I do this? Here is my code.. Thanks!!
this.RadAjaxManager.ResponseScripts.Add(@"Sys.Application.add_load(function()
{radalert('Constituent Information Added!', 250, 100);})"
);
// Redirect to Pending......
Response.Redirect(
"~/pages/ProcessPendingCorrespondence.aspx");
Please check your other forum thread on the same subject for a sample that shows how to implement the desired logic with radalert:
http://www.telerik.com/community/forums/thread/b311D-bgmagc.aspx
All the best,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
i want to show somthing else rather than "ok" and "cancle"....
is it possible?
You can set the Ok and Cancel button text by changing the localization strings of the RadWindow "Prometheus" control by using the following Javascript code that should be placed after the RadWindow / RadWindowManager declaration.
Telerik.Web.UI.RadWindowUtils.Localization = |
{ |
"Close" : "Close", |
"Minimize" : "Minimize", |
"Maximize" : "Maximize", |
"Reload" : "Reload", |
"PinOn" : "Pin on", |
"PinOff" : "Pin off", |
"Restore" : "Restore", |
"OK" : "OK", |
"Cancel" : "Cancel", |
"Yes" : "Yes", |
"No" : "No" |
}; |
Thanks,
Shinu.
I have already solve my problem by using confirmTemplate...
my code is as followes..
<
telerik:radwindowmanager runat="server" id="Singleton" >
<ConfirmTemplate>
<DIV id="RadWindowManager1_confirmtemplate">
<
div class="windowpopup radconfirm">
<
div class="dialogtext"> {1} </div>
<
div>
<
a onclick="$find('{0}').callBack(true);"
class
="radwindowbutton"
href
="javascript:void(0);" >
<
span class="outerspan">
<
span class="innerspan">MyOk</span>
</
span>
</
a>
<
a onclick="$find('{0}').callBack(false);"
class
="radwindowbutton"
href
="javascript:void(0);">
<
span class="outerspan">
<
span class="innerspan">MyCancle</span>
</
span>
</
a>
</
div>
</
div>
</
DIV>
</ConfirmTemplate>
<Windows>
<telerik:RadWindow runat="server" ID="DialogWindow" NavigateUrl="confirmPopUp.aspx" Modal="true" DestroyOnClose="true"></telerik:RadWindow>
</Windows>
</telerik:radwindowmanager>
But, thanks a lot, for your reply....
Regards,
Mayank Kumar