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

help with read only need for Update but not for insert

2 Answers 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gina
Top achievements
Rank 1
Gina asked on 01 Sep 2009, 05:35 PM
I have created a grid that will update/insert and delete...  There is one column that I want to be read only for an update but need it for the insert. I have created this column as a GridDropDownColumn... can someone tell me how i can turn it off and on depending on update or if its an insert...

Thanks
Gina

2 Answers, 1 is accepted

Sort by
0
Winston Ware
Top achievements
Rank 1
answered on 02 Sep 2009, 02:36 PM
I'd be interested to know the best way to do this as well...

Thanks, Winston
0
Mira
Telerik team
answered on 03 Sep 2009, 03:33 PM
Hello,

I recommend that you take a look at the Distinguish edit/insert mode on ItemCreated/ItemDataBound help topic to see how to determine the mode of the grid and according to it to set the visibility.

Greetings,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Gina
Top achievements
Rank 1
Answers by
Winston Ware
Top achievements
Rank 1
Mira
Telerik team
Share this question
or