Hello
I would like to know how to change the displayed text of an Hyperlink column in an unbound Gridview in C#.
I added the hyperlink column like this (replaces an already existing column containing the shortcut):
GridViewHyperlinkColumn hyperlinkColumn = new GridViewHyperlinkColumn("shortcut");
hyperlinkColumn.ReadOnly = true;
hyperlinkColumn.Width = 200;
radGridDocuments.Columns.Remove("shortcut");
radGridDocuments.Columns.Add(hyperlinkColumn);
It displays the link correctly, and I am able to click on it to open documents or websites, but I would like to change the text displayed to a more user-friendly text, like simply the document's name instead of the full "
\\sharefolder\somefolder\someusername\somedocument.doc", or the full "
http://www.telerik.com/forums/winforms/gridview/etc.html".
I have the text I want displayed in another column, on the same row.
Thanks.