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

Custom edit links and separate pages

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 19 Sep 2013, 09:54 AM
I have read through the documentation, but what I want to do doesn't seem to be covered...which seems a little strange as not everyone wants to use AJAX or a window to edit records.

What I would like to is is have custom edit/delete links in each grid row that open up 2 separate (webforms) pages for editing and deleting records respectively. I do NOT want to use a custom control or to use rad window but would like to load a completely enw page. How do I do this within rad Grid?

Many thanks
Simon

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 24 Sep 2013, 08:16 AM
Hi Simon,

If I understand correctly you want to navigate to a separate page once a delete or edit link is being clicked and perform the according operation there. For navigating you can use a GridHyperLinkColumn or a GridTemplateColumn and place a custom hyper link inside.
<telerik:GridHyperLinkColumn DataTextFormatString="Delete '{0}'" DataNavigateUrlFields="CompanyName"
  UniqueName="CompanyName" DataNavigateUrlFormatString="DeletePage.aspx/{0}"
  DataTextField="CompanyName">
</telerik:GridHyperLinkColumn>

If that is not the case I would like to ask you to elaborate more on the exact scenario so we could provide a more precise answer.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or