Monday, March 26, 2012

ConfirmButtonExtender display

i have a "ConfirmButtonExtender" and a save button and the save button wire to "ConfirmButtonExtender" and when i click on save button i get the confirmation which is great.

this.ConfirmButtonExtender1.ConfirmText ="Are you sure?";

but the questin i have is:

is there a way to disable the confirmbuttonextender for certain roles?

what i mean is, i have two roles (admin, users) if the user click on save button i want to display "are you sure" and if the admin clicks i dont want to display any confirmation window.

is that possible ?

thanks

i fixed!

No comments:

Post a Comment