Ok on my master page I have a search text box and a button when the button is pressed the SearchButton_Click method checks to see if the page isvalid (i.e. if the user has entered something into the search box) before redirecting the user to the search results page.
I then have an add product page which uses the master page and has some text boxes for entering the details of the product and a button. When the add product button is pressed the AddButton_Click method checks to see if the page isvalid.
However it will not add the product as it does not think the page isvalid because nothing has been entered into the search text box. Is there anyway of checking that just the add product text boxes are valid in VB and not the whole page?
Enter your message below
Sign in or Join us (it's free).