This is a migrated thread and some comments may be shown as answers.

Radgrid with GridTemplateColumn how to use the editItemTemplate and ItemTemplate

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chaya
Top achievements
Rank 1
Chaya asked on 09 May 2018, 03:56 PM

hi,

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?

1 Answer, 1 is accepted

Sort by
0
Chaya
Top achievements
Rank 1
answered on 20 May 2018, 07:44 PM
anyone?
Tags
Grid
Asked by
Chaya
Top achievements
Rank 1
Answers by
Chaya
Top achievements
Rank 1
Share this question
or