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
I am using the latest webgrid control and have an issue with the scroll bar sometimes. It seems that the first time the page is loaded for the grid the horzontal scrollbar is very tiny and you can barely see it. Sometimes it sizes itself correctly and sometimes it does not. I have attached a screenshot of it not being sized correctly and one with it working. How do we fix this to work all the time?
Hi Jocelyn,
I'm terribly sorry I can't replicate your issue. Could you tell me the detail step how to reproduce your issue since your problem is occasionally occur? That would really help.
Regards,
Lili Khiung
Since it occasionally occurs there are no specific steps to get it to reproduce. As you can see from the screen shot it does happen though. Is there a property that we can set to always force the scrollbar to a certain height?
Since I can't replicate your issue, I can't check it on my end. But the scrollbar size should be 19px and not change. You can set the size from the element. Please have a look at this link:
http://www.intersoftpt.com/Community/WebGrid/WebGrid-resize-scrollbar-height-set-to-2px/
Hope it helps.
I looked at the posting. Please tell me how to set the element. Here is my example code.
You need to know the ID of the element to set the element. You can use the developer tools in IE by pressing F12 in the browser. Point to the scrollbar then you'll get the ID of the element. In your sample, you can put this code on your clientside, for example to make the scrollbar height 35px:
document.getElementById("tbFreeze_MRUTrust").childNodes[0].childNodes[0].childNodes[0].style.height = "35px";
I am attaching 2 page for you to run. If you run testa.aspx. Then click on the link for Recently Opened about 20 times. You will see the horzontal scrollbar gets really tiny sometimes and you can barely see it.
Unfortunately, I couldn't replicate your issue on my end with your sample even after I clicked Recently Opened for more than 20 times. I see you're using CSS style in your WebGrid, could you send me the CSS as well so I could check it? Also, about the clsSessionManager, is it needed to replicate your issue? Because I can't find the class of clsSessionManager in your sample.
The clsSessionManager is not need to run the code. I am attaching the css file.
After using your CSS file, I still can't replicate your issue. I have clicked Recently open many times, but still couldn't replicate your issue. Could you find the pattern to reproduce this issue?
Jocelyn,
I have the same issue and have posted a question here. Hopefully we will get a proper response.
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