Author: HernanAgudelo | Posted on: 10/28/2009 2:53:02 PM | Views : 299

Hello every body


This time i have a problem with a link. What i want is to create a link to a folder that is diferent acording to the selected row in a gridview.
The link isn't in the gridview, it's outside, i've tried to create it in different way, but when i click the link, it doesn't do anything.
The gridview selected row event code that creates the link is as follows:



Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged If GridView1.SelectedRow IsNot Nothing Then 'The link is: Dim link As String = getpath() + "\" + GridView1.Rows(GridView1.SelectedIndex).Cells(5).Text 'first way: using an asp hyperlink inside a placeholder Dim HLink As New HyperLink HLink.NavigateUrl = link HLink.Nav ...

Go to the complete details ...