Hi, I am using SL4 and the Q3 telerik controls release. Can you provide me a simple code sample where a dock takes up the entire horizontal width of a window? Basically i'm just looking for a horizontal stretch.
3 Answers, 1 is accepted
answered on 17 Nov 2010, 07:30 AM
A docking control takes up the all available horizontal space by default. I am guessing you wish a single RadPane to stretch horizontally. If so, I suggest that you use a DocumentHost containing a single or multiple RadPanes because it stretches horizontally by default. For example:
The challenge I am facing is that if I don't specifiy a width for the parent object, then I get an error that the docking control cannot be in a parent with infinite width/height. However if I do specify a width then it just stays stuck at that width. Here is my current page layout:
Right now the gridview will always stretch to fill the entire screen horizontally with a 10 pixel buffer on each side. What I am trying to do is put that gridview in a docking control, so I tried putting the busy indicator and everything below into the docking control but running into the width issue. I know this is probably very vague so I am going to keep playing with it and if I can't figure it out I will provide more detail, if you have any ideas please let me know.