Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
WebGrid methods Stop working in New mozillaFirefox 3.6. URGENT HELP
posted

Hi

  My client was using mozilla for his application, and it was upgraded to Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729).

  The application has two button in order to move row up and down. Everything has been working for alomost 2 years. NOw with the new version of mozilla this functionality is deleting the rows instead of moving them :( .

  In the aspx code I have this:

<div style="float: left; width: 10%; text-align: center;">

 <br/>


<div onclick="enableDisableAdvancedPanel(false);moveUp();return false;">

 <img id="imgup" src="facilityFiles/images/up.png" alt="move up" /></div>


<br/>


<div onclick="enableDisableAdvancedPanel(false);moveDown();return false;">

<img id="imgdown" src="facilityFiles/images/down.png" alt="move down" /></div>

</div>

 

 

The javascript functions specified above are defined as follow:

 

 

function enableDisableAdvancedPanel(flag)
{
  var advancedPanelObj = igpnl_getPanelById(getId('pnlAdvancedOptions'));
  advancedPanelObj.setEnabled(flag);

function moveUp()
{
 var selected = igtbl_getGridById(getId('uwgClientSelectedColumns'));
 var row = selected.getActiveRow();
 if (row != undefined)
 {
  var rows = row.OwnerCollection;
  var index = row.getIndex();
  if (index > 0)
  {
   rows.remove(index, false);
   rows.insert(row, index -1);
  }
  selected.setActiveRow(row,false,false);
 }
 
}

function moveDown()
{
 var selected = igtbl_getGridById(getId('uwgClientSelectedColumns'));
 var row = selected.getActiveRow();
 if (row != undefined)
 {
  var rows = row.OwnerCollection;
  var index = row.getIndex();
  if (index < rows.length - 1)
  {
   rows.remove(index, false);
   rows.insert(row, index + 1);
  }
  selected.setActiveRow(row,false,false);
 }
 
}

 

  As you can see, what the moveup and movedown functions are doing is deleting the row and then inserting again in another index position.

  Is the rows.inser(row, index + 1) not working anymore in the new mozilla???

  The version of infragistic is 7.3.20073.1054 . Problem with the version????

  Another thing is that I have notice the java error console of mozilla showing the following:

   Warning: Empty string passed to getElementById().

  And then an error exception as follow:

  Error: document.getBoxObjectFor is not a function
Source File: http://reports.conferencecare.com/ReportManager/WebResource.axd?d=49_cJwDJJJCynFFCK8gBVR6u37OiPfvzyWkiN4m3OsFj55_oRbU18LlJcWjjXIVnG-BauKrqR0RIFs3IHK1kKb4YJkwOD6a9_EaN23Z7NTBer5rNOZwhvkV6-4PMu1Uw0&t=633548304820000000
Line: 3237

Is the infragistic function getBoxObjectFor not compatible with the new mozilla anymore?

  When I open the url error exception, it shows me a huge javascript code (auto generated by infragistic) and exactly the position of the exception as follow (The position is in Bold font):

function igtbl_getAbsBounds(elem, g, forAbsPos)
{
	var r = new Object();
    if (ig_csom.IsIE && elem.getBoundingClientRect)
    {
        var rect = elem.getBoundingClientRect();
        r.x = rect.left;
        r.y = rect.top;
        r.w = rect.right - rect.left;
        r.h = rect.bottom - rect.top;
    }
    else if (ig_csom.IsFireFox && document.getBoxObjectFor(elem))
    {
        var rect = document.getBoxObjectFor(elem);
        r.x = rect.x;
        r.y = rect.y;
        r.w = rect.width;
        r.h = rect.height;                
	}
	else
	{
		return igtbl_getAbsBounds2(elem,g);
	}
.
.
.
.

  The autogenerated javascript code is label as:

 /*
  * Infragistics WebGrid CSOM Script: ig_WebGrid.js
  * Version 7.3.20073.1054
  * Copyright(c) 2001-2006 Infragistics, Inc. All Rights Reserved.
  */

  Can someone help, Maybe the Gurus of the infragistic webgrid components. Has someone else having expirience with the mozilla 3.6 version....... Please help 

 

Parents
No Data
Reply
  • 49378
    posted

    Hi appliednetworksolutions,

    It has been a while since your post, in case you are still in need of assistance I am glad to offer some help.

    As I can see from the information you have given, your version of Infragistics is 7.3. Firefox 3.6 is supported since our .NetAdvantage for .NET 2010 Volume 1 release. Therefore I can suggest you to try upgrading your product version to our latest release.

    Please contact me if you ahve any questions.

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

Children
No Data