I have 3 textboxes in my webform.I want my user to enter valid entries into them. If user leaves any textbox empty.I want Give him an alert to him (like a msgbox in vb.net).I'm using textboxes in asp.net(web server controls).I dont want to use the validation controls as they wont give a pop up message.
ramareddy_dotne
0
Newbie Poster
Recommended Answers
Jump to Postin the submit button do something like
if (txtField1.Text = "")
{
msgbox = "Sorry please enter something in txtFeild1";
}Try something like that.
Jump to PostI have 3 textboxes in my webform.I want my user to enter valid entries into them. If user leaves any textbox empty.I want Give him an alert to him (like a msgbox in vb.net).I'm using textboxes in asp.net(web server …
All 5 Replies
percent20
1
Light Poster
kasun.u
0
Newbie Poster
reach_yousuf
2
Junior Poster
dnanetwork
18
Practically a Master Poster
Banned
shahnawaz khan
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.