Hi..

Am newbe to ASP.net, facing problem while using vaidation controls.
I have a form where in have used ADD,EDIT,SEARCH, CLEAR buttons. When i press an edit button datagrid can be viewed. But when i use validation controls error messages are displayed if I click on edit,clear, add or search button.The code that i have written in the click events of these buttons doesnt work.

So please can anyone tell how can i stop getting these error messages of validation controls when an event(click) is raised.


Thank you in advance.

Recommended Answers

All 2 Replies

hi archanha,
Can i know what error message u r getting during clicking edit,clear and all such buttons?
May be the software is not properly installed or change in files.. occured which can create such problems...

Hi,

use validationgroup property to call appropriate validation controls on the form..i think u are using same validationgroup property for all these buttons and validators..check it once

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.