How can I make a DISPLAYED DATA(int) of a PARTICULAR COLUMN to be a hyperlink in a GRIDVIEW, so when I click on that DATA it will display details of that chosen row line items.
views:
54answers:
3
+1
A:
I assume that you will give your details at another page, here is a hyperlink column that points to a details page :
<asp:HyperLinkColumn
HeaderText="Show Details"
DataNavigateUrlField="YourIntegerColumn"
DataNavigateUrlFormatString="detailspage.aspx?id={0}" />
Canavar
2009-07-10 18:10:28
A:
Though I don't think it is what you want, you might want to display details inside of hover text. This should work for you.
<asp:TemplateField HeaderText="Id">
<ItemTemplate><asp:Label ID="LabelId" runat="server" Text='<%# Eval("Id") %>' ToolTip='<%# Eval("Details") %>' /></ItemTemplate>
</asp:TemplateField>
Ben Griswold
2009-07-10 18:25:24
+1
A:
This video does something similiar to that. The details are not inline, but the concept is kind of what you're looking for. There is a grid view, and when clicking on an item, the details view below is populated with the row details. This may give you some ideas. Hope this helps.
Hcabnettek
2009-07-10 19:28:41