V
Valli
Hi,
I need to display an hyperlink column in gridview where if the user
clicks that column the page should move to the selected page.
I have got help from this group & started using template field. After using
this, I couldnt see a column supporting hyperlink.
In the gridviews first column header, there appears an hyperlink with the
first record link displaying. That also only in header overwriting with the
first column caption.
can anyone help me in this..
My code follows here...
<asp:TemplateField>
<ItemTemplate>
<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%#
Eval("FileLink") %>'
Style="z-index: 100; left: 0px; position: absolute; top: 0px" Text='<%#
Eval("FileLink") %>'></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
--FileLink is the datafield name which provides the link
I need to display an hyperlink column in gridview where if the user
clicks that column the page should move to the selected page.
I have got help from this group & started using template field. After using
this, I couldnt see a column supporting hyperlink.
In the gridviews first column header, there appears an hyperlink with the
first record link displaying. That also only in header overwriting with the
first column caption.
can anyone help me in this..
My code follows here...
<asp:TemplateField>
<ItemTemplate>
<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%#
Eval("FileLink") %>'
Style="z-index: 100; left: 0px; position: absolute; top: 0px" Text='<%#
Eval("FileLink") %>'></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
--FileLink is the datafield name which provides the link