By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,402 Members | 1,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,402 IT Pros & Developers. It's quick & easy.

<URGENT>Sorting in nested datagrid

P: n/a
Hi all,

I have a asp data grid under which i have another datagrid which is my user control and is autogenerated.Now I am not able to implement sorting in my inner datagrid eventhough I have enabled sorting.even the item command is not firing for the inner grid.I am binding the datagrid onPrerender.

<ASP:DATAGRID id="MainDataGrid" Runat="server" width="100%" AutoGenerateColumns="False" BorderWidth="0">
<COLUMNS>
<ASP:TEMPLATECOLUMN>
<ITEMTEMPLATE>
<TR>
<TD align="center">
<rsc:WrapperDataGrid id="wdgHitSeekersReportReport" runat="server" AllowSorting="true" EnableColumnTotals="false"
Width="100%" Height="100%" GridLines="None" PageSize="50" ShowEditUpdateCancelColumn="False" ShowDeleteColumn="False">
<AlternatingItemStyleCssClass="msalternating"></AlternatingItemStyle>
<ItemStyle CssClass="ms-vb2"></ItemStyle>
<HeaderStyle CssClass="ms-vh"></HeaderStyle>
</rsc:WrapperDataGrid></TD>
</TR>
</ITEMTEMPLATE>
</ASP:TEMPLATECOLUMN>
</COLUMNS>
</ASP:DATAGRID></td>

Regards,
Dheeraj

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.