Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Avoid validation for close or cancel button
WhatsApp
Mayur Gujrathi
13y
3.8
k
0
0
25
Blog
private void btnClose_Click(object sender, EventArgs e)
{
tb.CausesValidation = false; //Validating event of textbox's will not occur
this.Close();
}
Avoid validation for close or cancel button
Up Next
Secure Your Data: Avoid SQL Injection Using C#
Ebook Download
View all
Dot NET 9 & C# 13: Features and Best Practices
Read by 7 people
Download Now!
Learn
View all
Membership not found