I am fighting with an issue. Putting return false in the Button(Btnsubmit) will stop the page from posting-back so the cb function can be called, however it will still not give the desired result of posting back if the user clicks the OK in the radconfirm window.
The flow the OP and I are trying to achieve is this:
1) user clicks a Submit button
2) radconfirm window comes up with ok and cancel
3) user clicks OK
4) on button onclick event i am trying to insert values into database and mail it to the manager
5)on button ONCLIENTCLICK i call radconfrim as
OnClientClick ="radconfirm('Request Submitted',confirmCallBackFn,330,100,'Confirmation!');return false;"
with javascript
function
confirmCallBackFn(arg) {
if(arg)
window.location =
"ViewList.aspx"
}
This does not work.... if i say return false along radconfrim the ,poup opens on clicking the submit button and when i hit ok it returns to the desired page but the mail is not getting send which shld get triggerd by ONCLICK.
Alias when i say the radconfirm wihtout the return false,the popup vanishes even befor i could click ok and goes to the page and as well as sends the mail.How to make it work.
Any suggestions appreicated.
Yvette