<URGENT>Sorting in nested datagrid

  • Thread starter Dheeraj Verma via DotNetMonster.com
  • Start date
D

Dheeraj Verma via DotNetMonster.com

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top