i have a rad grid which sometime i should show in edit mode and sometimes not, which relays on my data in the c# code.
when grid in editable i want my fields blank so i used editItemTemplate with desired control in it,
for the non-editable state i used ItemTemplate with label in it and attached code with eval.
i want to control the grid state in the code to sometimes sow these columns with the editItemTemplate
and on other times the itemtemplate fields, how can i do that?