This is a migrated thread and some comments may be shown as answers.

IDE - Drag & Drop

3 Answers 87 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 2
Brad asked on 26 Sep 2007, 12:25 AM
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.

Thanks

3 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 26 Sep 2007, 07:34 AM
Hello Brad,

Even though drag/drop functionality is not available, it is fairly easy to add any control to a ribbon bar group (chunk). The following KB article demonstrates the approach:
http://www.telerik.com/support/kb/article/b454K-mbc-b454T-cgc-b454c-cgc.aspx

We have also added this functionality in our to-do list, but no specific deadline is set yet.

 
Best wishes,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Brad
Top achievements
Rank 2
answered on 26 Sep 2007, 08:45 AM
Hi,

I had already read that KB article.

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):

  1. The layout system calculates the available size for the host item and the item gives that size to the hosted control
  2. 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.

All the best,

Kiril
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
Tags
RibbonBar
Asked by
Brad
Top achievements
Rank 2
Answers by
Mike
Telerik team
Brad
Top achievements
Rank 2
Kiril
Telerik team
Share this question
or