3 Answers, 1 is accepted
0
Hello Richard,
Please review the following forum thread which elaborates on similar subject:
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-dropdown-binding.aspx
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Please review the following forum thread which elaborates on similar subject:
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-dropdown-binding.aspx
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
rema43001
Top achievements
Rank 1
answered on 05 Nov 2009, 03:54 PM
Thanks, I need to bind the GridDropDownColumn programmatically.
For example:
For example:
sql = "SELECT tipoasig ";
sql += "FROM catipoasigtb ";
DataSet DStipoasig = new DataSet();
OracleDataAdapter DAtipoasig = new OracleDataAdapter(sql, Cn);
DAtipoasig.Fill(DStipoasig);
DDLtipoasig.ClearSelection();
DDLtipoasig.DataSource = DStipoasig;
DDLtipoasig.DataTextField = "tipoasig";
DDLtipoasig.DataValueField = "tipoasig";
DDLtipoasig.DataBind();
DDLtipoasig.SelectedValue = "AS";
Can you help me?
Thanks
0
Accepted
Shinu
Top achievements
Rank 2
answered on 06 Nov 2009, 07:28 AM
Hi,
Have you cehcked out the following help link on how to configure the GridDropDownColumn. You can either set its ListDataMember property to a specific Data table or set the DataSourceID to a datasource control. You can also access the Dropdownlist editor and set its datasource in the ItemDataBound event
Customize/Configure GridDropDownColumn
Thanks,
Shinu
Have you cehcked out the following help link on how to configure the GridDropDownColumn. You can either set its ListDataMember property to a specific Data table or set the DataSourceID to a datasource control. You can also access the Dropdownlist editor and set its datasource in the ItemDataBound event
Customize/Configure GridDropDownColumn
Thanks,
Shinu