when i click on dropdown list
i want only two option shuld drop as Mark as Read and Mark as UnRead
but mark as option also getting drop
i want it to be intact @ dropdown text
even when user select Mark as Read then also it shuld be der @ dropdown text
Please help
Many Thanks..
Manoj SevdaPosted Nov 22, 2011, 6:30 AM
Use requiredFieldValidator for validating 0 index of dropdownlist control.
Display="Dynamic" ErrorMessage="Please select Mark as">Mark as is required.
Krishna GaradPosted Nov 22, 2011, 4:40 AM
if(DropDownList1.SelectedIndex==0)
{
//Do Nothing
}
else if(Index==1)
{
//Do Mark As
}
else if(Index==2)
{
//Do unMark
}
else
{
//Select The Value.
}