2

How to add hyperlink handler handler so that I may redirect to any page on the internet? The hyperlinks are in the RadGridView. The value of link, like www.google.com, are coming from database. I'm using winform telerik.

Ali Hassan
  • 321
  • 2
  • 17

1 Answers1

1

You must register to the HyperlinkOpening event of the RadGridView. And you must also make the column holding the hyperlink(s) a column of type GridViewHyperlinkColumn.

Once you have the column created you can register as such:

radGridView.HyperlinkOpening += radGridView_HyperlinkOpening;

private void radGridView_HyperlinkOpening(object sender, HyperlinkOpeningEventArgs e)
{
    Process.Start("www.google.com");
}
jaredbaszler
  • 3,941
  • 2
  • 32
  • 40