access client side controls on the server

181 Views Asked by At

I am applying a field validator on a listbox which works when no item is selected in the textbox and some(most often the submit button) control is made to postback to the server.

Now the problem is that if a person has entered the page and want to logout it still gives the same exception messages(which it should) rather than logging out of the page.

I am using ASP.NET with c# as back-end. I want the the logout button(rather all except the submit button) to function prior to the validation please help. Thank you vary much in advance.

1

There are 1 best solutions below

0
On

You can use two different method: