Hi,
I am new in ASP.net. i have create a webform which contains 2 fields textbox1 and textbox2 and two button new and save. i have included the requirefied validator on textbox1. now when i am clicking on new button it will display message i.e enter id. but on new button click i was fetching Autoid from db. how i can check these validation on save button only. I am using normal button in toolbox.


Can anybody help me please.....

Hi,
On the New button set causes validation to False. That will turn stop that button performing any validation when clicked.

Thanks hericles,
It's working fine. Thanks once again

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.