Hi,
I have a RadGrid which is initialzed to a SqlDataSource and itz working fine. Now, I want to make one of the data field from the sql source as a HyperText.
I am doing following in Code Behind.
GridHyperLinkColumn hyperlinkcolumn = GridHyperLinkColumn();
hyperlinkcolumn.DataField = "<MyColumnName_FromSql>"
hyperlinkcolumn.DataNavigateUrlFields = "<MyColumnName_FromSql>"
hyperlinkcolumn.DataNavigateUrlFormatString = "URL String"
MyGrid.Columns.Add(hyperlinkcolumn);
Whne I do this, I am seeing two columns. One original column from the sql data source and one hyperlink column i added.
I tried additing to MasterTableView as well. But still two columns are coming.
I expect only hypertext column to present and original column to not present.
How to achieve this??
THanks
Satish
I have a RadGrid which is initialzed to a SqlDataSource and itz working fine. Now, I want to make one of the data field from the sql source as a HyperText.
I am doing following in Code Behind.
GridHyperLinkColumn hyperlinkcolumn = GridHyperLinkColumn();
hyperlinkcolumn.DataField = "<MyColumnName_FromSql>"
hyperlinkcolumn.DataNavigateUrlFields = "<MyColumnName_FromSql>"
hyperlinkcolumn.DataNavigateUrlFormatString = "URL String"
MyGrid.Columns.Add(hyperlinkcolumn);
Whne I do this, I am seeing two columns. One original column from the sql data source and one hyperlink column i added.
I tried additing to MasterTableView as well. But still two columns are coming.
I expect only hypertext column to present and original column to not present.
How to achieve this??
THanks
Satish