TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Murli Jadhav
NA
258
16.3k
check multiple textboxes is emty oe not at a time
Jul 7 2017 5:10 AM
My textBoxes Is contained on panel3 and panel3 is above on panel2
I want validate textboxes my code is
public void ClearTextBoxes(Control.ControlCollection cc)
{
foreach (Control ctrl in cc)
{
TextBox tb = ctrl as TextBox;
if (tb == null)
messagebox.show("Empty Textbox Found");
}
}
but It Throws an error -"Object refference not set an instance of an object"
Reply
Answers (
2
)
About AsyncFileUpload in asp.net
Too many characters in literal