Disable Validation Controls???

JohnMac

New Member
I have a UserControl called "Header" with a few link buttons on it. The link buttons click event causes the page to redirect to other pages in my site. This control is included on every page in my site. When I am on a page that contains a form, like my registration form, the link buttons on the Header control do not work because all the validation controls fire. Is there a way to prevent the Validation controls on a page from being executed? When I change my header to use <A HREF> instead if <ASP:LinkButton> the page redirects fine - but I want to stick with code behind instead of putting hard HREF's on the page.On the buttons in the header set the property CauseValidation=false. These buttons will bypass validation and work no matter what.<BR><BR>hth,<BR>James
 
Back
Top