Private Sub myDataGrid_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles myDataGrid.ItemDataBound
Dim Fixpage As String = e.Item.Cells(4).Text
Dim hl As HyperLink = e.Item.Cells(4).FindControl("hlFix")
If Fixpage = " " Or Fixpage = "" Then
hl.NavigateUrl = "http://sharepoint/JFHQ/JSTAFF/J1/J1ARMY/Mob/Mob%20Tracker%20Fix%20Pages/Fix%20Page%20Library.aspx"
End If
End Sub
<asp:TemplateColumn HeaderText="Fix Page">
<ItemTemplate>
<asp:Hyperlink id="hlFix" runat="server" Text="Fix Page" NavigateUrl='<%# DataBinder.Eval (Container.DataItem,"strFilterPage") %>' Target="_blank"></asp:Hyperlink>
</ItemTemplate>
</asp:TemplateColumn>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE