I have a RadGrid, that uses Paging in Slider Mode. In the Client Settings I have an OnRowClick Event and an OnCommand Event. When the OnCommand event is added, I get the following error, each time I page the grid forward with the clider.
Message: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'Telerik.Web.UI.GridTHead' to type 'Telerik.Web.UI.RadSlider'.
If I change the mode to anything other than Slider it seems to work fine. Also, If I remove the OnCommand event, it works fine. Am I missing something, or is this a know bug? Below is a snippet of my RadGrid.<rad
:RadGrid ID="grdPeople" runat="server" DataSourceID="dsPerson" GridLines="None"
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="25"
OnItemCommand="grdPeople_ItemCommand" OnItemDataBound="grdPeople_ItemDataBound" >
<ClientSettings EnableRowHoverStyle="true" >
<ClientEvents OnRowClick="grdPeople_RowClick" OnCommand="grdPeople_Command" />
</ClientSettings>
<PagerStyle Mode="Slider" Position="Top" />
Thanks