I have a RadGrid with grouping turned on. I have a templated column with a textbox for entering the order number (position) for reordering and a hidden linkbutton. I have tied the onkeydown() to click() the hidden linkbutton when the keyCode is 13. This works fine BUT the group that I am in collapses. Is there any way to override or bypass the group expand/collapse on pressing enter?
<tlrk:GridTemplateColumn HeaderText="Order" UniqueName="Rank">
<ItemTemplate>
<asp:TextBox ID="txtRank" runat="server" Enabled="true" onkeydown="if (event.keyCode==13) $get(this.id.replace('txtRank','') + 'lnkSubmitRank').click();" Text="" Visible="true" Width="20px" />
<asp:LinkButton ID="lnkSubmitRank" runat="server" style="display:none" OnClientClick="alert('Move To: ' + $get(this.id.replace('lnkSubmitRank','') + 'txtRank').value); event.cancelBubble=true;" />
</ItemTemplate>
</tlrk:GridTemplateColumn>
NOTE:
ClientSettings-ClientEvents-OnGroupCollapsed
does not fire.
Thanks in advance,
Doug