Hello All,
I would like to validate a textbox in a detailview before it updates the database. I have a code-behind validation that if its true; i want the update query(using query builder) not started and have the user fix the problem. I can not use a validation group; since i only have 1 hyperlink button; which is the update query itself. I also have other validations on the page; but i only what this textbox valided if the checkbox is not selected. Therefore, i am using a code-behind validation.
for example:
I have a textbox that is empty and i need the user to fill it in. I want my code-behind to take proirity before the updated query is executed.
Any ideas of how i can stop the update query from executing if my code-behind validation fails.
Thanks
Kagome