Use JavaScript to validate |
|
Posted By
Moderator1
on
2/20/2008 7:35:29 PM |
|
|
|
Description: |
In your web user control validate the dropdown list with javascript. Set the value of the 'Select Product' to 0. Then
function CheckProductCombo()
{
if (document.getElementById('<%=DropDownList1.ClientID%>').value=="0")
{
alert('Select Product');
return false;
}
} |
|
|
|