Dec 15, 2010, 4:06 PM
Adding 2 Property to the 'SelectionModel' in a GridPanel throw an Exception
Markup for the GridPanel:
<SelectionModel>
<ext:CheckboxSelectionModel runat="server" SingleSelect="false">
<CustomConfig>
<ext:ConfigItem Name="checkOnly" Value="true" Mode="Raw" />
<ext:ConfigItem Name="allowDeselect" Value="true" Mode="Raw" />
</CustomConfig>
</ext:CheckboxSelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="false">
<AjaxEvents>
<RowSelect OnEvent="gpResults_Command" Method="POST" Type="Submit">
<ExtraParams>
<ext:Parameter Name="OrderId" Value="Ext.encode(#{gpResults}.getRowsValues({selectedOnly:true}))"
Mode="Raw" />
</ExtraParams>
</RowSelect>
</AjaxEvents>
</ext:RowSelectionModel>
</SelectionModel>
Error message on the .aspx PageOnly one items available
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Coolite.Ext.Web.ExcessItemsException: Only one items available