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

Radgrid cannot show a the URL or link from database

2 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chairul
Top achievements
Rank 1
Chairul asked on 25 Sep 2013, 02:45 AM
Hi, All,

I've got a problem with Radgrid which cannot display the text from database that contains link/URL.

The case was,

I tried to insert a text, e.g. http://www.telerik.com/ from RadEditor and then I saved it to database.
After saving, I try to retrieve it and list it with the other records on Radgrid.
and apparently, the inserted URL did not appear on the list.
The column which should be filled with the URL is blank.

Dear masters,
I do need a clue for this.
It occurs on every browser.

Many thanks in advance

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 27 Sep 2013, 10:53 AM
Hello Chairul,


You could use GridHyperLinkColumn to show hyperlinks in the RadGrid control. Make sure that you have properly set DataNavigateUrlField to an existing data field with the required links. See the online demo below for more information of using GridHyperLinkColumn:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

Regards,
Maria Ilieva
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.
0
Chairul
Top achievements
Rank 1
answered on 09 Oct 2013, 07:17 AM
Hi, Maria.
It seems to be working
Thank You :)
Tags
General Discussions
Asked by
Chairul
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Chairul
Top achievements
Rank 1
Share this question
or