The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I am implementing a grid in my app which is based on the RepeaterUserControl in the Syncfusion samples. It works pretty well but, for some reason, the scroll bars (vertical & horizontal) are not appearing even though there are grid cells that are off the screen.
Does anybody have any quick ideas why this might not be working for me? I can see that distributed sample does not suffer from this problem...but I cannot spot the difference between the sample and my own attempt. Anyone else had the same problem?
Thanks.
STstanleyj Syncfusion Team December 5, 2005 10:12 AM UTC
Hi Stephen,
What might be happening is that the grid is being sized and positioned before its parent has been placed in its final position/size. This may leave the grid thinking that it is much bigger than its parent, and may affect whether its thinks it needs scrollbars or not. (This type of problem is really dependent upon when/how the grid and its parent is made visible for the first time.)
Just something to try. Instead of locating the repeater control where you are putting it (usually either on a form or usercontrol or tab page), instead, first put a Panel there, and then put the repeater control (docked=fill) in the panel. This may avoid the problem.
Best regards,
Stanley
SNStephen NewDecember 8, 2005 05:30 AM UTC
Thanks for your suggestion, Stanley.
It seems that the problem was related to my user control (within the RepeaterControl) being excessively wide. By adjusting the width of this user control I could see that, past a certain width, the scroll bars would not appear (or perhaps they were pushed off the edge of the parent control?).
Anyway, I seem to have gotten around it by redesigning the user control to be less wide.
Cheers,
Stephen.
>Hi Stephen,
>
>What might be happening is that the grid is being sized and positioned before its parent has been placed in its final position/size. This may leave the grid thinking that it is much bigger than its parent, and may affect whether its thinks it needs scrollbars or not. (This type of problem is really dependent upon when/how the grid and its parent is made visible for the first time.)
>
>Just something to try. Instead of locating the repeater control where you are putting it (usually either on a form or usercontrol or tab page), instead, first put a Panel there, and then put the repeater control (docked=fill) in the panel. This may avoid the problem.
>
>Best regards,
>Stanley