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

RadConfirm RadWindow totally from server side

1 Answer 123 Views
Window
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 06 Aug 2010, 01:56 AM
Hi all,

I have found many posts about RadConfirms but none seem to fit what I need. I've read the post here:
http://www.telerik.com/help/aspnet-ajax/window_dialogsconfirm.html

Along with others.

I have RadConfirm windows tied into my RadGrids and would like to display RadConfirms, completely from the server side, similar to those fired off from the RadGrid.

I can display a confirm box from firing it off of another control like:

<

 

button onclick = "radconfirm('Are you sure?', confirmCallBackFn); return false;"> show CONFIRM BOX</button>

 

But I would rather be able to do it similar to a .Show() method from Forms controls.

But that doesn't allow for changing the title or text, nor do I need the extra function for determing the callback value.

Any help would be greatly appreciated.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 06 Aug 2010, 08:05 PM
The answer was easy:

RadScriptManager

 

.RegisterStartupScript(this, this.GetType(), "WindowOpen", @"radconfirm('" + strAdd + "', confirmCallBackFn, 330, 100, null, '" + "Confirm ...');", true);

 

Tags
Window
Asked by
Brad
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Share this question
or