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 symbol would you use to denote, the start of a code block in aspx views?
In which event of page cycle is the viewstate available?
Explain asp.net application life cycle?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
How to execute a stored procedure.and how to call it form a asp page
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Explain difference between dataset and datareader?
Why is the standalone environment only useful during the development process?
Can you edit data in the Repeater control?
How do I open an ashx file in windows 7?
What are the different methods that are used during the page load?
What are user controls and custom controls ?
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)