469,336 Members | 6,117 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Sorting in nested datagrid

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>

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
0 850

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gareth Gale | last post: by
3 posts views Thread by melanieab | last post: by
reply views Thread by Dheeraj Verma via DotNetMonster.com | last post: by
8 posts views Thread by Matthew Curiale | last post: by
5 posts views Thread by DKC | last post: by
8 posts views Thread by simchajoy2000 | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.