4 Answers, 1 is accepted
0
Hello Swapna,
You can use this approach (C# code):
I hope this helps.
Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can use this approach (C# code):
<
telerik:GridTemplateColumn
>
.....
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
Enabled='<%# !(Container is IGridInsertItem) %>'
Text="Test" />
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
I hope this helps.
Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
0
Hello Swapna,
Thank you for the clarification.
This requires a little modification to the code-snippet:
Kind regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for the clarification.
This requires a little modification to the code-snippet:
<
telerik:GridTemplateColumn
>
.....
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
Enabled='<%# !(Container as GridItem).OwnerTableView.IsItemInserted %>'
Text="Test" />
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
Kind regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Swapna M
Top achievements
Rank 1
answered on 03 May 2010, 07:41 AM
Thanks Daniel. It worked. :)