There is a login page that has two text boxes with required
field validators on it. The page has a login and cancel
button. How can we ensure that the click on the cancel
button doesnt fire a validation event.
Answers were Sorted based on User's Feedback
Answer / madhabendra nath
just write CauseValidation="false" in cancel button property.
| Is This Answer Correct ? | 48 Yes | 1 No |
Answer / guneetinder singh
By using the validation Group property.
name validation group property of both required field
validator and on login button but not of cancel button.
| Is This Answer Correct ? | 6 Yes | 7 No |
What is an asp.net web form?
Explain login control and form authentication.
How many Language support in ASP.NET?
why many web.config files are used in are project
What is user control in asp.net?
How can u deifne the benefits and limitation of using Viewstate for state management?
Define xmlvalidatingreader class.
Explain the asp.net mvc request life cycle? : asp.net mvc
What are the different types of cookies in asp.net?
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?
What is difference between view and partial view?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)