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
Hi ALL,
Previously We were using Webgrid 6.Now we have upgraded to Webgrid 7 of version 7.0.7200.401.
We are facing one issue in our scenario which is working fine in Webgrid 6.
Scenario is:
we are having a grid with two images(enable and disable).
If we click on enable image we will enable the multi select in the grid and if we click on disable image we will hide the checkbox from the grid.This functionality is working fine with Webgrid 6 and webgrid 7.
One more scenario is first we will group the webgrid based on a column then when we click on Enable image icon then a javascript error ( 'children.0.scrollWidth' is null or not an object) is thrown after enabling the checkbox.but the same thing is working fine in webgrid 6 without any javascritp error.
Please find the attached sample page which illustrates our problem.Please advice as we stuck with this for our Sharepoint 2010 release.
Regards,
Madhavan
Hi Madhavan,
Unfortunately, I could not replicate your issue. I tried to create a simple sample based on your attached sample (not working because don't have your database) but my sample works fine. As far I know, you must not to use Multiple selection along with IsRowChecker feature. This can cause conflic>>> Please read our WebGrid documentation about "Multiple Row Selection". There should be an important note in there. I don't know if your code worked in WebGrid 6, but I can say that you should not use both of that features together.
Here a simple test.Try to turn off AllowMultipleSelection and use IsRowChecker. You can still select multiple rows if you checked the checkbox.
Hi Handy,
Actually in our original code AllowMultipleSelection is not there.
In the replicated sample I was trying some thing and that;s why by mistake AllowMultipleSelection tag was there.
Even with removing AllowMultipleSelection tag and enabling rowchecker feature gives the same problem.
Even with removing AllowMultipleSelection tag and disabling rowchecker feature gives the same problem.
Our product is working fine with this scenario in Webgrid 6.Only in Webgrid 7 we are facing this problem.Please advice.
Just like my collague, I am having a problem to replicate the issue of yours. I have tried your scenario and everything works just fine. Perhaps, we are missing something.
Could you provide us with a running sample (using Northwind database) and replicate the issue? Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Andi,
Please find the attached sample with Northwind db.
This sample is for the scenario of
1.First do a grouping a column using Grouping by this field.
2.Then click on Enable check button.
3.It throws the Javascript error ( 'children.0.scrollWidth' is null or not an object) is thrown after enabling the checkbox.
Hello Madhavan,
Yes, I am able to replicate the issue. Actually, your scenario is not supported. As far I know, we could not toggle WebGrid Column via properties, Visible false/true with client side/html button. This needs FullPostBack.I see that you were able to figured out how to trick this in WebGrid 6 but this is still not proper ways. However, the error is something we do not expect because we have not aware that because we could not hide WebGridColumn for now.
Regards,Handy
Any workaround for this without fullpostback.
Because same scenario is working fine in webgrid 6 in our product.
Our client will want the same feature if we migrate our product updates which is using webgrid 7.
We have to support this feature.
Please advice.
Ok, I have forwarded this issue into our developer teams. I will let you know when I got news from them. Thank you.Regards,Handy
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