When can we expect to see improved drag and drop functionality in the Ribbonbar?
I would like to be able to easily use all Telerik controls inside the Ribbonbar Chunks and Button Groups. Also, the ability to easily use standard Windows controls would also be good.
As far as I can tell the examples in the article do not work with your Q2 2007 release of controls.
I have submitted a support ticket demonstrating some the current problems. Which includes controls not displaying in chunks, controls displaying over more than one chunk and chunks that don't draw correctly after adding non telerik controls.
Regards, Brad
0
Kiril
Telerik team
answered on 26 Sep 2007, 10:07 AM
Hi Brad,
We have answered to your support ticket, but we would also like to describe what has changed.
RadHostItem is an element that is part of our hierarchy of elements and as such it is taking part in our layout scheme.
There are two ways of interaction between the size of the host item and the size of the control it hosts (the hosted control):
The layout system calculates the available size for the host item and the item gives that size to the hosted control
The hosted control has a set size and the host item makes the layout system to take that size into account when determining the size of the control hosting the hosted control
Two boolean properties of RadHostItem determine these interactions: StretchHorizontally and StretchVertically. When some of them is false it means that in that direction the host item takes its size from the hosted control and the layout system will consider this size in its calculations.
The default value for these two properties was false and is now changed to true. The reason is that users are more likely to use the hosted control in the RadControl the same way as the other elements (i.e. by obeying the layout).
Still, with StretchHorizontally and StretchVertically set to false the old behavior can be achieved (the layout to obey the size of the hosted control). In the particular situation that is described here (and in the support ticket) the code was relying on the size of the hosted control.