Hi All,
I have RadGrid with TemplateColumns, one of the cloumns has a RadComboBox in the edititemtemplate and insertitemtemplate
and in the other i have RadDatePicker in the edititemtemplate and insertitemtemplate also...
in the edit or insert mode and on the selection of the RadComboBox i need to make the other templatecolumn unvisible (the corresponding column header and the RadDatePicker).
i did this using the selectIndexedChanged of the ComboBox and to get this column and set its readonly property to true. and all works fine but i noticed that i need to rebind the Grid so the corresponding column disappear...but this causes that the selection of the Radcombobox to be unselected also since all the grid is rebinded!!!
how can i keep the selection or shall i do it in another way???
attached screen shots of my problem
hope you can help as soon as possible...
Many Thanks
Asa'ad....
I have RadGrid with TemplateColumns, one of the cloumns has a RadComboBox in the edititemtemplate and insertitemtemplate
and in the other i have RadDatePicker in the edititemtemplate and insertitemtemplate also...
in the edit or insert mode and on the selection of the RadComboBox i need to make the other templatecolumn unvisible (the corresponding column header and the RadDatePicker).
i did this using the selectIndexedChanged of the ComboBox and to get this column and set its readonly property to true. and all works fine but i noticed that i need to rebind the Grid so the corresponding column disappear...but this causes that the selection of the Radcombobox to be unselected also since all the grid is rebinded!!!
how can i keep the selection or shall i do it in another way???
attached screen shots of my problem
hope you can help as soon as possible...
Many Thanks
Asa'ad....