T
tshad
I use popups periodically to my buttons to prevent actions in my pages.
When I tried this with a checkbox:
DeclineSSN.Attributes.Add("onClick", "if(!confirm('Declining to enter SSN
will prevent the hiring process to continue.\n\n Are you sure you
want Decline?'))return;")
it worked as far as not doing an autopostback if cancel is selected. But the
box still gets selected.
Is there a way to prevent a checkbox from being selected if the Cancel
button is chosen?
Thanks,
Tom
When I tried this with a checkbox:
DeclineSSN.Attributes.Add("onClick", "if(!confirm('Declining to enter SSN
will prevent the hiring process to continue.\n\n Are you sure you
want Decline?'))return;")
it worked as far as not doing an autopostback if cancel is selected. But the
box still gets selected.
Is there a way to prevent a checkbox from being selected if the Cancel
button is chosen?
Thanks,
Tom