Hi
I have a grid with follwing columns.. the Calumn
2 questions /problems:
- the Calumn
- I g
I have a grid with follwing columns.. the Calumn
TRANSACTION_CURRENCY_CD should be a DropDown list..... <Columns> <telerik:GridBoundColumn ReadOnly="true" DataField="ACCOUNT_ID" UniqueName="ACCOUNT_ID" HeaderText="Account ID"> </telerik:GridBoundColumn> <telerik:GridDropDownColumn UniqueName="TRANSACTION_CURRENCY_CD" ListTextField="TRANSACTION_CURRENCY_CD" ListValueField="TRANSACTION_CURRENCY_CD" HeaderText="DropDown Column" DataField="TRANSACTION_CURRENCY_CD" DropDownControlType="RadComboBox" AllowSorting="true"></telerik:GridDropDownColumn> <telerik:GridBoundColumn DataField="TRANSACTION_AMT" UniqueName="TRANSACTION_AMT" HeaderText="TRANSACTION_AMT"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LOCAL_CURRENCY_CD" UniqueName="LOCAL_CURRENCY_CD" HeaderText="LOCAL_CURRENCY_CD"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LOCAL_AMT" UniqueName="LOCAL_AMT" HeaderText="LOCAL_AMT"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SUB1" UniqueName="SUB1" HeaderText="SUB1"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SUB2" UniqueName="SUB2" HeaderText="SUB2"> </telerik:GridBoundColumn> </Columns>.....public DataTable CustomersTable{ get { DataTable res = (DataTable)this.Session["CustomersTable"]; if (res == null) { res = (DataTable)Table0021.Lade("1").Tables[0]; this.Session["CustomersTable"] = res; } return res; }}
protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
RadGrid1.DataSource = this.CustomersTable;
}
TRANSACTION_CURRENCY_CD is the column name in the Datatable2 questions /problems:
- the Calumn
TRANSACTION_CURRENCY_CD is always Empty (in the edit mode, too)- I g
et a List<String> with the Elemts for the DropDownList. How can I bind this to the dropdownlist
Thank you very much!