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

Radconfirm before button click event.

1 Answer 123 Views
Window
This is a migrated thread and some comments may be shown as answers.
Swapna M
Top achievements
Rank 1
Swapna M asked on 29 Apr 2010, 02:25 PM
Hi,
    I want to use radconfirm before button click event.
Please refer the following code.

<

 

asp:LinkButton ID="btnSubmit" runat="server"  OnClientClick="ConfirmSubmit()" OnClick="btnSubmit_Click">Submit</asp:LinkButton>

 

 

 

 

function ConfirmSubmit() {

 

 

var callBackFn = function(arg) {

 

 

return arg;

 

}

radconfirm(

"Are you sure you want to submit this action?", callBackFn, 350, 120, this, 'Submit Confirmation');

 

}

 

 

 


Here btnSubmit_Click event is raised before i click on OK or Cancel in radconfirm.
Please let me know how to correct this behaviour?

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Apr 2010, 02:32 PM
Hello,

Checkout the following code library which demonstrates how to block the execution thread with radconfirm.
Block the execution thread with radconfirm

I hope this would help you,
Princy.
Tags
Window
Asked by
Swapna M
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or