Help me to solve this
-
Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.
-
Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.
not sure what you are trying to ask. But a button has a property called CausesValidation. If this is set to false the postback from the control will not make the page validate.
-
Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.
Malayil alex wrote:
i made cause validation property as false
At run time or design time?
**$**herin Iranimose
-
Malayil alex wrote:
i made cause validation property as false
At run time or design time?
**$**herin Iranimose
design time itself...but still needs 2 clicks to go logout
-
design time itself...but still needs 2 clicks to go logout
So when you click logout first time, Validation is happening, isn't it? Please post you page load and link button coding.
**$**herin Iranimose