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
If I have a column groupped, then right-click on the Group Header, I get a JsError:
Line 7 - Microsoft JScript runtime error: 'null' is null or not an object
The WG code failing is:
The cell HTML is:
<TR style="HEIGHT: 20px" type="GroupHeader" position="1" hasParent="False" selectionMode fullPath="" childrenLoaded="True" groupIndex="0" expanded="False"><TD class=grdPDQ-GroupRow style="WIDTH: 16px; BORDER-RIGHT-WIDTH: 0px" align=middle type="GroupCell"><IMG onclick=WGUI.TGROW(this) src="ISRes.axd?G/wg_plus.gif" align=absMiddle></TD>
<TD class=grdPDQ-GroupRow title="" style="BORDER-LEFT-WIDTH: 0px; WIDTH: 100%" noWrap colSpan=11 type="GroupCell">Category: 2</TD></TR>"
I have the following setup:
AutoFilterSuggestion = True
With a quick Js debugging session, it looks like the WebGrid is trying to get the cell's column name by cell, but the context menu Cell is really a TR for the GroupHeader (which is correct, but failing).
I am running WebGrid 7 from 2009 R1 SP1 (the latest from 9/1), but this error occurred in non-SP1 as well. Thanks, Mike
Thanks,
Mike
I was able to repro the issue on my end. I have reported and forwarded this issue to WebGrid development team. A work item, #423, has been created regarding this issue.
I’ll keep you updated with any news I heard from the team regarding this issue.
I tested in Grouping.aspx (WebGridSample) with your settings. But it did not return any error at all. Please see my recording and let me know if i am missing something when trying to replicate your issue. FYI, I also used 2009R1SP1.
Regards,Handy
Thank you. I right-clicked on the GroupHeader row, not the GroupByBox element. However, I also couldn't reproduce it with that sample. I will try to figure how which other setting is needed to replicate, then post the sample.
I can reproduce it now - the filter row has to be shown with CellSelect mode on too.
.AllowFilter = Filter.Yes
.CellClickAction = CellClick.CellSelect
I have attached the sample ASPX page (it belongs in C:\Program Files\Intersoft Solutions\Intersoft WebUI Studio 2009 R1\Samples\For ASP.NET\ISNet.WebUI.Samples\vb\WebGrid
I also included in the zip file the recording of the error. FYI - the video first includes a demonstration of another issue I brought up in the forums about SelectedObject on serverside so I can post there too, but the 2nd part is the JS error.
Sorry for the late respond.This issue has been fixed. The fix included in 2009 R2 release. Please install 2009 R2 in order to get the latest build version.
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