Need Ability to Selectively show or hide HyperLink for different rows in WebDataGrid

I have a working WebDataGrid with <Columns> and then various <ig:BoundDataField>.

Within these, I have added

<ig:TemplateDataField Width="100px" Key="NavUrl" CssClass="igwdg_center">
<asp:HyperLink ID="Link1" runat="server" NavigateUrl='<%# "javascript:openWinNavigateUrl(" + DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).Item, "Row.Index") + ")" %>'>
<Header Text="Checking Details" CssClass="igwdg_center" />

which calls a Javascript function to open another page.

How would I restrict this HyperLink from appearing when some of the data in my DataBound data is not available?  In other words, I only want the Hyperlink with "Details" as the text to only appear if a certain field is populated within the underlying collection of data.  I don't want the hyperlink to appear in every row of data.


Parents Reply Children
No Data