Welcome Guest Search | Active Topics | Sign In | Register

Grid Paging problem Options
sgosselin
Posted: Thursday, August 7, 2008 6:30:11 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
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="&lt;strong&gt;&amp;laquo;&lt;/strong&gt; Premier"
                        LastPageButtonHtml="Dernier &lt;strong&gt;&amp;raquo;&lt;/strong&gt;" 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>


eo_support
Posted: Thursday, August 7, 2008 11:47:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

Thanks for posting in the forum. We looked into the issue and was able to find the root cause. The problem will be fixed in our next build.

Thanks
eo_support
Posted: Thursday, August 7, 2008 6:27:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

We have posted a new build that should fix this problem. Please check your private message for download location.

Thanks!
sgosselin
Posted: Friday, August 8, 2008 10:16:22 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Problem fixed. Thx guys.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.