I have a textbox , assign required field validator and i
have two buttons 1) save 2) cancel , i want the validator
run only when i click save button, don't validate cancel
button , what to do?

Answer Posted / smit sisodia

set validation control="false" of cancel button

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

746


What's the difference between viewstate and sessionstate?

794


Which adapter should you use, if you want to get the data from an access database?

750


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

809


Explain parts of assembly?

730


Explain MVC model binders?

798


Elaborate differentiation between ViewState and SessionState?

832


Where would you use an ihttpmodule, and what are the limitations if any?

736


what is meant by sitemapnode ?

1735


Where is the session stored?

835


Explain About WebService

886


What is session start?

715


Explain the different types of directives in .net?

698


What is viewstate in asp net with example?

723


How does session work in asp net?

751