Hi...
M working with ListBox Control in aspx.cs.
Can AnyOne help me out regarding....How to ensure that atleast one item gets selected in a listbox before button click event gets fired when button is clicked???
Thanks in Advance.....
willopt_ric
0
Newbie Poster
Recommended Answers
Jump to PostUse RequiredFieldValidator.
Jump to Posthi..
If ListBox1.SelectedIndex < 0 Then Exit Sub End If
All 7 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
willopt_ric
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
willopt_ric
0
Newbie Poster
Kusno
0
Junior Poster
willopt_ric
0
Newbie Poster
Kusno
0
Junior 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.