Hi!!
Just wondering if this was possible...
I've got some buttons that sometimes I want to confirm, and at other times I don't. For example, if I'm taking an order for a certain quantity (e.g. 1,000) I might want to confirm that the user is happy with this, whereas if it's for a low amount (e.g. 1 or 2) I don't need to confirm this.
Has anyone got any ideas how to achieve this with the confirmButtonExtender, or is it a case of writing manual javascript and using the OnClientClick property of the asp:Button?
Many thanks in advance for your help!
Regards,
James
I'm thinking you might modify a customized ConfirmButton slightly so that it knows to look at some page state (JS variable, element value, etc.) before displaying the confirm dialog. Shouldn't be much more than an additional line or two, I'm not thinking...
No comments:
Post a Comment