I have a Toolbar with about 7 buttons, half of which need postbacks and the others don't. I attached an OnClientButtonClicking event with a switch statement to set up the appropriate actions and a ButtonClick event for the server actions. One of the buttons launches a radprompt but it doesn't wait for the response before it does the postback. I tried to manually trigger the postback by doing this:
...
case 4:
radprompt('Reasons for Reject:', promptCallBackFn, 330, 100, null,'Reject');
args.set_cancel(true);
Break;
...
...
case 4:
radprompt('Reasons for Reject:', promptCallBackFn, 330, 100, null,'Reject');
args.set_cancel(true);
Break;
...
function
promptCallBackFn(arg){
<%= Page.GetPostBackEventReference(RadToolBar1) %>}
but it gave me an error saying the input string was not in the correct format.
Any help would be greatly appreciated, Thank you.