iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
We are trying to use WebGrid 7 in SharePoint web part for one of our sharepoint applications.
We have tried following two approaches and both are having some issues as mentined below
1. Using ISRes.axd in Web.Config and refering all the resource using the handler
We are displaying a self refrencing hierarchical grid, and it works fine after a post back if any of the collapsed nodes are not expanded. Once any of the collapsed node is expanded and then when the page is post backed , it pops up a javascript error and prompts to debug. When we debugged it took us to foollowing two functions where it gave Type Mismatch error.
this.ReBindingPostBackData(vdf025) and then var v4ed49 =v19335.createCDATASection(v1df51) <== here it gives type mismatch error , fyi: v1df51 variable value is null2. As mentioned in the following white paper we followed the approach of refering all the comman libary resource
var v4ed49 =v19335.createCDATASection(v1df51) <== here it gives type mismatch error , fyi: v1df51 variable value is null
2. As mentioned in the following white paper we followed the approach of refering all the comman libary resource
http://www.intersoftpt.com/WebGrid/WhitePaper/WebGridNET6_SPS.pdf
Even this approach is giving us some javascript errors , when we do mouse hover over the grid it shows a javascript error 'WGI' is undefined.
Can anybody please help us figure out what the issue is or is there any better approach to make WebGrid 7 work in SharePoint web part ?
Thank you.
The WGI error when using the steps describe in the whitepaper occurs because the CommonLibrary folder is not found. Please set the correct virtual directory in the SharedScriptDirectory and ScriptDirectory.
In your case (hierarchical mode and self reference), you will also need to set up the WebDesktopDirectory and image folder (LayoutSetttings.ImageSettings.Folder)
Regarding the Type mismatch error, does the issue also occurs in a non MOSS environment? Do you mind sharing a running sample so we could replicate the issue in our environment?
As you have mentioned we modified the code but we are still getting the same error :(
Please find the attached code and the screen shot of the error for your refefence.
Attached is a screenshot of the WebGrid in a WebPart on an IE browser. In the screenshot I also enable the developer tool and check if all the referenced script is correctly loaded.
In your environment, is the script already correctly loaded or is there any HTML 404 error or HTML 403 error when you try to view the script in the Developer Tool?
Hhi Glenn,
Please find two screen shots attached with this reply. I did not get any 403 error whey tried to view the script in Developer tool but i am still getting the WGUID is undefined error as shown in the "WGUIUndefinedError.png" attachment.
Did you get a chance to look at the source code we had attached in earlier post ? Is there anything which i need to change there ?
Btw,The common library folder we got was when we had downloaded the trial version of intersoft web ui studio 2009 r2 sp1.exe
I could not see any mistake in the code that you sned me.
However, based on the Developer Tool screenshot that you attached, I noticed you are missing some js compared to the screenshot I attached earlier. For example, WebGrid_core.js and WebGrid_UI.js. Have you copy all the script in the WebGrid 7 folder to your common library virtual directory?
Yes i too notice that behaviour now. Supricingly i do have all the JavaScript files including WebGrid_core.js and WebGrid_UI.js in my folder. Please find the attached screen shot to get an idea of what all files i am having in my folder.
This is now really driving us crazy, please help.
Based on the discussion with our developer, he will need to view the source file of the page to further investigate the issue. Please attach the view source result of the problematic page. If the requested information contains sensitive information please send it through technical@intersoftpt.com
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname