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

Add new item with GridHyperLinkColumn

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 25 Dec 2008, 03:25 PM
I have grid with GridHyperLinkColumn, navigate url is www.tempuri.org?id={0}. When I add new item (InPlace), GridHyperLinkColumn exists and navigate url is wrong, becuase new item hasn't id yet. And I cannot use ItemTemplate, because I add columns on page load. Is it possible to hide GridHyperLinkColumn in insert mode?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Dec 2008, 07:46 AM
Hi Andrey,

Indeed you can use ItemCommand (e.CommandName == "InitInsert") to hide desired column.

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Andrey
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or