A
Abhijit
On a aspx page I am having one button that causes
validation(Save button) , other button that dont causes
validation (Cancel button) and a link button that
causesvalidation. The click of cancel button shows
different behaviours if the page is not valid.
Case 1. (no problem case)
If I click save button and if the page is not
valid and then click cancel button the user is redirected
to other page as cancel button dont cause validation.
case 2: (problematic case)
If the user clicks link button and page is not
valid.Then after click of Cancel button nothing
happens.The user is not redirected.But if the Cancel
button is clicked second time he is redirected.
This happens only if we have link button on the page
and that causes validation.
Is anyone having the solution ?
validation(Save button) , other button that dont causes
validation (Cancel button) and a link button that
causesvalidation. The click of cancel button shows
different behaviours if the page is not valid.
Case 1. (no problem case)
If I click save button and if the page is not
valid and then click cancel button the user is redirected
to other page as cancel button dont cause validation.
case 2: (problematic case)
If the user clicks link button and page is not
valid.Then after click of Cancel button nothing
happens.The user is not redirected.But if the Cancel
button is clicked second time he is redirected.
This happens only if we have link button on the page
and that causes validation.
Is anyone having the solution ?