Just starting to use telerik controls and I've combed through the forums and documentation for my problem but something hasn't clicked for me. My scenario is that I have a radgrid with multiple griddropdowncolumns, 7 of them to be exact (days of the week). The data is being bound in codebehind of type int for these 7 columns (there are other columns but those are coming back fine). When I'm binding the data to the grid, the griddropdowncolumns do not populate at all. The values should be between 1-5 to represent a status for each day. So, initially, upon load of the radgrid, the columns will appear with respective status' and in edit mode the user shoul be able to select a different status for each day. Sorry for the length, but trying to make my point here...
Here is a snippet of my aspx code:
How do I show the value in the db (1-5) for each of the GridDropDownColumns and in edit mode select the values 1-5...
I'm afraid I've spent all day and yesterday and my brain is fried. And in the process I've thoroughly confused myself.
Any and all help is appreciated!
SS
Here is a snippet of my aspx code:
<
telerik:GridDropDownColumn
DataField
=
"Mon"
HeaderText
=
"Mon"
ListTextField
=
""
ListValueField
=
"Mon"
UniqueName
=
"MonTitleColumn"
DropDownControlType
=
"RadComboBox"
ColumnEditorID
=
"MonTitleEditor1"
/>
<
telerik:GridDropDownColumn
DataField
=
"Tue"
HeaderText
=
"Tue"
ListTextField
=
"StatusName"
ListValueField
=
"Tue"
UniqueName
=
"TueTitleColumn"
DropDownControlType
=
"RadComboBox"
ColumnEditorID
=
"FebTitleEditor1"
/>
<
telerik:GridDropDownColumn
DataField
=
"Wed"
HeaderText
=
"Wed"
ListTextField
=
"StatusName"
ListValueField
=
"Wed"
UniqueName
=
"MarTitleColumn"
DropDownControlType
=
"DropDownList"
ColumnEditorID
=
"MarTitleEditor1"
/>
<
telerik:GridDropDownColumn
DataField
=
"Thu"
HeaderText
=
"Thu"
ListTextField
=
"StatusName"
ListValueField
=
"Thu"
UniqueName
=
"ThuTitleColumn"
DropDownControlType
=
"DropDownList"
ColumnEditorID
=
"AprTitleEditor1"
/>
<
telerik:GridDropDownColumn
DataField
=
"Fri"
HeaderText
=
"Fri"
ListTextField
=
"StatusName"
ListValueField
=
"Fri"
UniqueName
=
"MayTitleColumn"
DropDownControlType
=
"DropDownList"
ColumnEditorID
=
"MayTitleEditor1"
/>
I'm afraid I've spent all day and yesterday and my brain is fried. And in the process I've thoroughly confused myself.
Any and all help is appreciated!
SS