Hi! I have a Grid in a SplitterPane - obviously in a Splitter. This control pack is in a UserControl - in a WebForms.aspx - all of that in an UpdatePanel. As I mention earlier in another post, I'm using it instead of your CallbackPanel because I have a CustomControl in my dev that doesn't work properly in the CallbackPanel. Very sad.
My problem is when I click on a row in page 1, it shows my selected info correctly, after that, if I jump to page 8, and click on a row in page 8, again it shows my selected info correctly. But if I get back to page 1, after selecting a row,
it bring me back to page 8, or whatever wich page I selected after the page 1. And this is true for all the other page. I mean, each time I select an item in the page 1, it brings me back to the last selected page. This occur only on the page 1. If I move from 2 to 8 - get back to 2 - it will keep me on 2 after selecting a row.
Here's the Grid
Code: HTML/ASPX
<eo:Grid ID="resultGrid" runat="server" AllowPaging="True" BorderStyle="Solid" BorderWidth="1px"
Font-Bold="False" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
Font-Size="8.75pt" Font-Strikeout="False" Font-Underline="False" ForeColor="#003300"
GoToBoxVisible="True" GridLineColor="0, 51, 0" GridLines="Both" Height="200px"
KeyField="MedecinID" PageSize="6" Width="685px" FirstPageButtonHtml="<strong>&laquo;</strong> Premier"
LastPageButtonHtml="Dernier <strong>&raquo;</strong>" ClientSideOnItemSelected="selectingResources"
OnItemCommand="resultGrid_ItemCommand" StyleSetIDField="ResourceStyle">
<ItemStyles>
<eo:GridItemStyleSet StyleSetID="Non">
<ItemStyle CssText="background-color:#ffffff;color:#003300;" />
<ItemHoverStyle CssText="background-color:#d5e844;color:#003300;" />
<AlternatingItemHoverStyle CssText="background-color:#d5e844;color:#003300;" />
<SelectedStyle CssText="background-color:#003300;color:white;" />
<SelectedHoverStyle CssText="background-color:#003300;color:white;" />
</eo:GridItemStyleSet>
<eo:GridItemStyleSet StyleSetID="Oui">
<ItemStyle CssText="background-color:#E4EF90;color:#003300;" />
<ItemHoverStyle CssText="background-color:#d5e844;color:#003300;" />
<AlternatingItemHoverStyle CssText="background-color:#d5e844;color:#003300;" />
<SelectedStyle CssText="background-color:#003300;color:white;" />
<SelectedHoverStyle CssText="background-color:#003300;color:white;" />
</eo:GridItemStyleSet>
</ItemStyles>
<GoToBoxStyle CssText="BORDER-RIGHT: #7f9db9 1px solid; BORDER-TOP: #7f9db9 1px solid; BORDER-LEFT: #7f9db9 1px solid; WIDTH: 40px; BORDER-BOTTOM: #7f9db9 1px solid">
</GoToBoxStyle>
<ColumnHeaderStyle CssText="text-align: left; padding-top: 3px; color: #003300; font-weight: bold; background: #ffffff url('./Images/GridHeader-Bg.png') repeat-x;" />
<Columns>
<eo:StaticColumn DataField="NoCMQ" HeaderText="NoCMQ" Width="100">
<CellStyle CssText="padding-top: 2px; padding-right: 2px;" />
</eo:StaticColumn>
<eo:StaticColumn DataField="Nom" HeaderText="Nom" Width="385">
<CellStyle CssText="padding-top: 2px; padding-right: 2px;" />
</eo:StaticColumn>
<eo:StaticColumn DataField="Ville" HeaderText="Ville" Width="200">
<CellStyle CssText="padding-top: 2px; padding-right: 2px;" />
</eo:StaticColumn>
</Columns>
</eo:Grid>