B
Brian Barnes via .NET 247
I am having trouble determining if I can set the target property of a hyperlinkcolumn based on the contents of field in a returned SQL query that is bound to a datagrid.
In my SQL table I'm storing different words in a DocumentType field, but I would like the word "Link" to trigger the target to go to "_blank".
I've tried many ideas including the OnItemDataBound event and thought changing the contents of the field from "Link" to "_self" or "_blank" might work too. Anyone have any suggestions?
In my SQL table I'm storing different words in a DocumentType field, but I would like the word "Link" to trigger the target to go to "_blank".
I've tried many ideas including the OnItemDataBound event and thought changing the contents of the field from "Link" to "_self" or "_blank" might work too. Anyone have any suggestions?