Hello,
I have the following code;
GridHyperLinkColumn grdLinkDetail = new GridHyperLinkColumn();
grdLinkDetail.Text = "Detail";
grdLinkDetail.UniqueName = "Detail";
grdLinkDetail.DataNavigateUrlFields = new string[] { "ClientID" };
grdLinkDetail.DataNavigateUrlFormatString = "javascript:ViewClient({0})";
grdLinkDetail.HeaderText = "Detail";
grdSimilarMatches.MasterTableView.Columns.Add(grdLinkDetail);
When the link is clicked I am going to a Javascript function to handle some functionality. I am trying to replace the link with an image instead. I have tried the GridImageColumn but cannot seem to get this working.
Is there an example out there?
Thanks,
Feizal
I have the following code;
GridHyperLinkColumn grdLinkDetail = new GridHyperLinkColumn();
grdLinkDetail.Text = "Detail";
grdLinkDetail.UniqueName = "Detail";
grdLinkDetail.DataNavigateUrlFields = new string[] { "ClientID" };
grdLinkDetail.DataNavigateUrlFormatString = "javascript:ViewClient({0})";
grdLinkDetail.HeaderText = "Detail";
grdSimilarMatches.MasterTableView.Columns.Add(grdLinkDetail);
When the link is clicked I am going to a Javascript function to handle some functionality. I am trying to replace the link with an image instead. I have tried the GridImageColumn but cannot seem to get this working.
Is there an example out there?
Thanks,
Feizal