|
|
|
288 days, 2 hours, 17 minutes
ago
Friday, June 05, 2009 12:26:29 PM
GMT
Tuesday, June 02, 2009 12:54:02 PM
GMT
|
|
dotnetspidor.blogspot.com --
Today I got across a question in the asp.net forum which seems simple but is still confusing for many beginners. So I am giving a place for it here:
Question:
Hi Everyone,
I'm trying to set some error handling by returning a message when a button is clicked and the user has not selected an item from the dropdown menu. I'm using this but for some reason it is being ignored?
protected void validatebtn_Click(object sender, ImageClickEventArgs e)
{
if (!(DropDownList1.SelectedValue == ...
|
|
tags:
asp.net, dropdownlist, validation
|
|
No comments yet, be the first one to post comment.