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
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?
What's the difference between viewstate and sessionstate?
Which adapter should you use, if you want to get the data from an access database?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
Explain parts of assembly?
Explain MVC model binders?
Elaborate differentiation between ViewState and SessionState?
Where would you use an ihttpmodule, and what are the limitations if any?
what is meant by sitemapnode ?
Where is the session stored?
Explain About WebService
What is session start?
Explain the different types of directives in .net?
What is viewstate in asp net with example?
How does session work in asp net?