Tuesday, March 27, 2012

List Item in code behind

Hi there
How can i do the following on code behind file

<asp:ListItem Selected="true">Item 3</asp:ListItem
Cheers

Nijumyddl.Items[2].Selected = true;

Eliyahu

"niju" <dipendra.neupane@.gmail.com> wrote in message
news:1121316639.680700.317510@.o13g2000cwo.googlegr oups.com...
> Hi there
> How can i do the following on code behind file
> <asp:ListItem Selected="true">Item 3</asp:ListItem>
> Cheers
> Niju

0 comments:

Post a Comment