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

[Solved] RAD confirmation Dialog

1 Answer 220 Views
Window
This is a migrated thread and some comments may be shown as answers.
Backy Shah
Top achievements
Rank 1
Backy Shah asked on 07 Oct 2009, 04:07 PM
Hi,

I have attached RAD confirmation dialog box with my ASP.net button OnClientClick.  It woks fine but it doesn't fire server side click event of button whether I select Ok or Cancel.

I am using following code

<

 

asp:Button ID="btnDelete" runat ="server" Text ="Delete" cssclass="RadUploadSubmit" OnClientClick="return  OpenConfirm();"

 

 

Visible="False" />

function
OpenConfirm() {

  radconfirm(

'<h3 style=\'color: #333399;\'>Are you sure?</h3>', confirmCallBackFn, 330, 100, null, 'RadConfirm custom title');

 

 

 

return false;

 function confirmCallBackFn(arg) {

 

 

  radalert(

"<strnog>radconfirm</strong> returned the following result: <h3 style='color: #ff0000;'>" + arg + "</h3>", null, null, "Result");

 

 

 }

Please tell me where do I modify javascript so it fires server side click after User selects Ok on confirmation dialog.

Thank you.

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Oct 2009, 04:46 AM
Hi Backy,

I suggest to check the following resources:
http://www.telerik.com/community/code-library/aspnet-ajax/window/block-the-execution-thread-with-radconfirm.aspx
http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Backy Shah
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or