Hi,
I have an UltraWebGrid with custom pager and fixed headers to allow frozen a couple of columns. This configuration works fine if I move through the pages without scrolling the grid.
If I do a scroll down operation at any page and, after that, I move to the next page the grid enters an invalid state which cause javascript errors when the mouse pointer moves over the cells for the FIRST row.
Furthermore, the cells which where frozen (because of the <Header Fixed="true" /> property) do not cause any error, only non fixed cells in the first row do.
By the way, this grid has some extra complex configuration but I have check that disabling UseFixedHeaders everything works fine.
I was trying to fix this and the unique way I get was disabling client side javascript. For that purpose I set the ReadOnly property to "LevelZero". Under this conditions the grid seems to work right.
I don't know if I will need client side scripts in the near future so, am I missing something or had I find a bug here?
I'll appreciate any comment.
Regards.
Product: Infragistics2.WebUI.UltraWebGrid.v7.3 - assembly version=7.3.20073.38
Extra info: the layout was configured in a .skin file just like the following:
<DisplayLayout LoadOnDemand="Xml" AutoGenerateColumns="False" ViewType="Flat" RowSelectorsDefault="No" TableLayout="Auto" RowSizingDefault="Free" AllowUpdateDefault="No" AllowAddNewDefault="No" AllowDeleteDefault="No" BorderCollapseDefault="Collapse" AllowSortingDefault="Yes" SortingAlgorithmDefault="Custom" HeaderClickActionDefault="SortMulti" SelectTypeCellDefault="Single" CellClickActionDefault="RowSelect" UseFixedHeaders="True" StationaryMargins="Header" RowHeightDefault="25px" ColWidthDefault="160px" AllowColSizingDefault="Free" HeaderTitleModeDefault="Never">
Steps to reproduce:
1-scroll down on the grid
2-change to next page in custom pager (page must change and scroll must be undone since the latest focused rows were not in the current row set)
3-move the mouse pointer over the first row's cells (this must cause a javascript error)
Hello,
The first thing comes to my mind is to test this with the latest HotFix of 2007 Vol. 3. Please find the link from www.Infragistics.com by logging into MyIG-->Keys and Downloads --> NetAdvantage . Then select the key foe 2007 Vol 3 and scroll down to find the HotFix section and click on the desired link to begin the download. Now install the HotFix and test the application.
If the issue still persists, then please submit a support request by visiting the following link:
http://es.infragistics.com/support/default.aspx#Overview
If possible, please attach a sample. I think this issue needs a closure look, if installing HotFix doesn't make any difference and in order to do so we have to reproduce the behavior in a sample.
Thanks,
Sarita
Hi Sarita,
I have tried the "NetAdvantage_20073_CLR2X_HotFix_1061.zip" hotfix and the error still appear.
In this case, the javascript error line has changed but the error behaviour is exactly the same.
Since I finally need for LevelOne and LevelTwo script modes I had implemented a simple workaround code:
var table = document.getElementById('G_ctl00xtbxphContentxgrid'); if (table){ table.onmousemove = null; table.onmouseover = null; table.onmouseout = null; table.onmouseup = null; table.onmousedown = null; }
This code is executed in the "AfterXmlHttpResponseProcessed" ClientSideEvent and in the load page and blocks any mouse event for the table with troubles.
Just in case, the new assembly version is: 7.3.20073.1061
I coundn't try the "NetAdvantage_ASPNET_20073_CLR20_HotFix_1061.zip" hotfix, it give me an error during the installation because of my current version. I have supposed that hotfix was included in the one I have installed because of its filename and filesize.
So, I will try registering the issue.
Pablo.
Hello Pablo,
It looks like you are handling some client side events for the Grid. When the Grid has the ReadOnly property set to LevelZero, the Grid doesn't contain any JavaScript functionality. LevelOne and LevelTwo support a few JavaScript functionalities like scrolling, row expansion and column resizing. This could be the reason of your JavaScript error. The stationary margin and UsedFixedHeader is only supported in LevelTwo. Please visit the following link to learn more about this property:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebGrid_Set_the_Level_of_WebGrids_Read_Only_Mode.html
If you don't want the Grid to be edited or updated and want all the other clientside functionality, then please disable AllowUpdateDefault, AllowAddNewDefault and AllowDeleteDefault properties of the Grid.DisplayLayout.
The HotFix you installed first includes the assemblies for both Windows and ASP.Net application and the second one has the assemblies for only ASP.Net/ web. Since you've installed the web assemblies the first time, you got the installation error while trying to install it the second time.
Please let me know if you have any other questions or concerns.