T
Tim Smith
In my .cs code I populate set the DataSource appropriately and I can
get my DataGrid to appear, though sorting throws an error
'dgDataGrid1__ctl1__ctl0' of type 'DataGridLinkButton' must be placed
inside a form tag
But ignoring that, with my aspataGrid how can I have a column of
values each with a link e.g.
<a href="Details.aspx?id=" + MY_NBR>MY_NBR</a>
<aspataGrid id="ReportHeader" runat="server" AllowSorting="True"
AutoGenerateColumns="False" >
<Columns>
<asp:BoundColumn DataField="MY_GROUP"
HeaderText="Report Group" SortExpression="MY_GROUP">
</asp:BoundColumn>
<asp:BoundColumn DataField="MY_NAME"
HeaderText="Report Name" SortExpression="MY_NAME">
</asp:BoundColumn>
<asp:BoundColumn DataField="MY_NBR"
HeaderText="Report Nbr" DataFormatString="{0:d}"
SortExpression="MY_NBR">
</asp:BoundColumn>
</Columns>
</aspataGrid>
thanks!
get my DataGrid to appear, though sorting throws an error
'dgDataGrid1__ctl1__ctl0' of type 'DataGridLinkButton' must be placed
inside a form tag
But ignoring that, with my aspataGrid how can I have a column of
values each with a link e.g.
<a href="Details.aspx?id=" + MY_NBR>MY_NBR</a>
<aspataGrid id="ReportHeader" runat="server" AllowSorting="True"
AutoGenerateColumns="False" >
<Columns>
<asp:BoundColumn DataField="MY_GROUP"
HeaderText="Report Group" SortExpression="MY_GROUP">
</asp:BoundColumn>
<asp:BoundColumn DataField="MY_NAME"
HeaderText="Report Name" SortExpression="MY_NAME">
</asp:BoundColumn>
<asp:BoundColumn DataField="MY_NBR"
HeaderText="Report Nbr" DataFormatString="{0:d}"
SortExpression="MY_NBR">
</asp:BoundColumn>
</Columns>
</aspataGrid>
thanks!