This is a migrated thread and some comments may be shown as answers.

Alert and Confirm without reloading the page

3 Answers 254 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hürkal
Top achievements
Rank 1
Hürkal asked on 28 Feb 2009, 04:31 PM
I want to use radalert to give the user a message that if he could add the record or not. I use AJAX for this button and it triggers RadGrid. It must give the message without reloading the page.

Another problem is about radconfirm. As above, it must appear without reloading the page.

Thanks...

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Mar 2009, 10:18 AM
Hi Hürkal,

I suggest to check the following KB article that shows how to use radconfirm with RadGrid:
http://www.telerik.com/support/kb/aspnet-ajax/grid/replacing-the-default-confirm-dialog-for-radgrid-with-radwindow-confirm.aspx.

Please note that in RadGrid for ASP.NET AJAX, RadGrid now supports showing confirmation dialog with RadWindow. You will need to set ConfirmDialogTypeproperty to RadWindow and place a RadWindowManager in the page. RadGrid will display a RadWindow confirmation dialog. You can additionally configure the RadWindowManager control. If there is no RadWindowManager control, RadGrid will ignore this property and will display the default confirm dialog. When ConfirmDialogType is set to "RadWindow" RadGrid allows additional customization -- the dialog title can be configured through ConfirmTitle property.


Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Hürkal
Top achievements
Rank 1
answered on 02 Mar 2009, 12:08 PM
Hi Georgi,

I want to use RadWindow confirmation with a button, not with RadGrid.
0
Georgi Tunev
Telerik team
answered on 04 Mar 2009, 03:22 PM
Hello Hürkal,

In such case I would suggest to check the following demo:
http://demos.telerik.com/aspnet-ajax-beta/window/examples/browserdialogboxes/defaultcs.aspx

Please check the information there and use the code from the demo as a base.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Hürkal
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Hürkal
Top achievements
Rank 1
Share this question
or