Hi
I am working on a .NET 1.1 application using Ultraweb grid. I have a checkbox on the columnHeader of a column. When i check the check box in the ColumnHeader, all the check boxes in that column should be checked.
I want to disable sorting when i check/uncheck the checkbox in the header. Sorting should only happen when i click the columnHeader.
How to do Disable sorting when i check/Uncheck the checkbox in the columnHeader?
Code:
<igtbl:UltraGridBand> <columns>
<igtbl:TemplatedColumn AllowUpdate="Yes" SortIndicator="Disabled" Key="chkDel"
Type="CheckBox" width=100%>
<HeaderTemplate>
<Table vAlign="top" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td vAlign="top" style="FONT-WEIGHT: bold;FONT-SIZE: 12px; FONT-FAMILY: Verdana"
width=100% > Delete </td>
</tr>
<tr >
<td vAlign="top" style="FONT-WEIGHT: bold;FONT-SIZE: 8px; FONT-FAMILY: Verdana"
width=100%>
<input type="checkbox" runat="server" id="chkDel1"
onclick="CheckBoxSelection(this);"
NAME="chkDel1" />Select All
</td>
</Table>
</HeaderTemplate>
<Header Caption="DeleteAll" >
<RowLayoutColumnInfo OriginX="8" />
</Header>
<Footer>
</Footer>
</igtbl:TemplatedColumn> </columns>
</igtbl:UltraGridBand>
Thanks
Ashok