ST
stanleyj
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
SN
Stephen New
December 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