Filling dropdownlist(which is inside datagrid) on page load...........................,..............................

Posted by Anu_dgr8 under C# on 7/8/2010 | Views : 2126 | Status : [Member] | Replies : 6
i have a datagrid,in which i have a dropdownlist...on pageload,i want to fill the dropdownlist..is there any event which i have to make use of??

Thanks and Regards,
Hoosha Boosha



Responses

Posted by: Raja on: 7/8/2010 [Member] Starter

Up
0
Down
You can call OnRowDataBound or OnItemDataBound even, in the code behind find the DropDown using item.FindControl method and then populate it. There are couple of example available in this website, search it and you will get it.

thank you

Regards,
Raja, USA

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/8/2010 [Member] Starter

Up
0
Down
OK tHANKS!

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/9/2010 [Member] Starter

Up
0
Down
Now i want to have selectedIndexChanged Event for that dropdownlist

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anu_dgr8 on: 7/9/2010 [Member] Starter

Up
0
Down
Can you please help me on this?

Thanks and Regards,
Hoosha Boosha

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 7/29/2010 [Member] Bronze

Up
0
Down
So you have to use the Bubble Event for getting the Selected Index change for DropDown in DataGrid....



Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response