I have a grid which has a page size of 250. This grid does not have it's height/width set so it expands off the bottom of the page and the user scrolls the page to see all the rows. The CellClick action is RowSelect so the row is highlighted when clicked by a user, but the problem I have is this:
The first time the user clicks a row to select it, if the page has been scrolled down, then the page scrolls back up to the top of the grid. The user has to then scroll back down to get to where they were. The row seems to highlight OK, but it is annoying that they have to scroll back down to find it again.
This only happens for the first row selection after visiting/loading a page in the browser - subsequent row selections do not scroll the page to the top of the grid.
Any suggestions?
Hi,
Thanks for subitting your query with Infragistics.
I would like to know if this issue is browser specific or not. I assume you have done the testing in both IE and FireFox. Have you seen any difference in behavior? What version of NetAdvantage, .Net FrameWork and VisualStudio you are using? Please update me with these information in order to nail down the issue.
Thanks
Sorry I did not mention the browser... It is affected in FF only and not IE6. I will paste the grid code below
<igtbl:UltraWebGrid ID="Grid" runat="server" Browser="Xml" EnableCrawlerDetection="False" EnableViewState="False" DataKeyField="ID" EnableAppStyling="True" EnableTheming="False"> <Bands> <igtbl:UltraGridBand> <addnewrow view="NotSet" visible="NotSet"></addnewrow> </igtbl:UltraGridBand> </Bands> <DisplayLayout AllowSortingDefault="Yes" BorderCollapseDefault="Separate" CellClickActionDefault="RowSelect" HeaderClickActionDefault="SortMulti" Name="Grid" RowHeightDefault="16px" Version="4.00" OptimizeCSSClassNamesOutput="false" SelectTypeRowDefault="Extended" LoadOnDemand="Xml" CellPaddingDefault="2" GroupByColumnsHiddenDefault="No" ViewType="OutlookGroupBy" RowsRange="250" AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" ColWidthDefault="75px"> <ClientSideEvents CellClickHandler="Grid_CellClickHandler" DblClickHandler="Grid_DblClick" AfterCellUpdateHandler="Grid_AfterCellUpdate" AfterEnterEditModeHandler="Grid_AfterEnterEditMode" /> <Pager AllowPaging="True" PagerAppearance="Both" PageSize="250" Alignment="Left"> </Pager> <EditCellStyleDefault> <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" /> </EditCellStyleDefault><ActivationObject BorderColor="" BorderWidth=""></ActivationObject> <FilterOptionsDefault AllowRowFiltering="OnServer" FilterUIType="FilterRow" FilterComparisonType="CaseInsensitive" FilterRowView="Top"> </FilterOptionsDefault> </DisplayLayout> </igtbl:UltraWebGrid>