Convert radGridView column after binding to a Hyperlink?
How can I do this? When I converted to a radGridView the same type conversion gave errors on compile.
With DataGridView control I was able to access a cell and change it to a hyperlink
using very similar code to this:
01.void dataGridView1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)02.{03. foreach (DataGridViewRow r in dataGridView1.Rows)04. {05. if (System.Uri.IsWellFormedUriString(r.Cells["Contact"].Value.ToString(), UriKind.Absolute))06. {07. r.Cells["Contact"] = new DataGridViewLinkCell();08. // Note that if I want a different link colour for example it must go here09. DataGridViewLinkCell c = r.Cells["Contact"] as DataGridViewLinkCell;10. c.LinkColor = Color.Green;11. }12. }13.}