First off I am using NetAdvantage for .NET 2009.1 in a MOSS 2007 environment. All the code I have written works perfectly in Internet Explorer for the user to edit an Ultrawebgrid cell on a double click. When i try edit the cell in firefox, it never allows the user to edit the cell. It just selects the cell the user clicks on.
I have tried adding a double click handler with the following javascript code to correct the situation;
function DblClickHandler(gridName, cellId) { var cell=igtbl_getCellById(cellId); cell.activate(); cell.beginEdit(); }
and I set it to function;
Grid1.DisplayLayout.ClientSideEvents.DblClickHandler = "DblClickHandler"
I have search the web and the forums to see if I am missing something and have found very little information. Can anyone point me to what I am missing?
- Adam
hi,
We have Infragistics2.WebUI.UltraWebGrid.v7.1, Version=7.1.20071.1045, and the double click event in firefox does not work.
If i change in ig_WebGrid.js as explained by post: http://blogs.infragistics.com/forums/t/37767.aspx, it works in firefox but fails in ie.
I can not put working in both browsers (ie and firefox).
Can you tell me how i can do it?
Best Regards
That worked!
For those not familiar with this configuration, here is a snippet from the Infragistics documentation on "Deploying an Application to a Hosted Server Environment". This allows you to point your code to a specific version of js code.
<configSections> <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,
configSections
section
name
type
System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </configSections>
System,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </configSections>
This XML specifies that infragistics.web section is indeed a valid element for the web.config file.
After adding the configSection tag, you can then add the actual infragistics.web tag. The following is an example of a web.config file which specifies the values JavaScriptDirectory and ImageDirectory. In this example, all web elements are pointed to the Application's scripts and images folders.
<infragistics.web imageDirectory="~/images"
infragistics.web
imageDirectory
javaScriptDirectory="~/scripts"/>
javaScriptDirectory
Try to force script load from the file system with this configuration:
<configuration><infragistics.web imageDirectory="..." javaScriptDirectory="..."/>
and copy new code ;)
I have been busy and unable to get back to posting. I made the changes to with no luck . I did notice firefox now works on the Infragistics Sample site.
I have the same problem with FireFox. The grid will not go into edit mode, but will for IE.
I have made the suggested code changes in all of the ig_WebGrid.js files I find on my system in folders c:\inetpub\wwwroot\aspnet_client\infragistics\20091CLR35\Scripts and c:\inetpub\wwwroot\aspnet_client\infragistics\20091CLR20\Scripts.
But when I run my application and check in debug, the js code is not running the edited code.
How do I get the proper/edited script code to run?