3 Answers, 1 is accepted
0
Hi hvduc,
Unfortunately, the RadTabControl doesn't expose such events for now. However, I added this as a feature request in our PITS where you will be able to track it under the name:"TabControl: Add DragReorder events" from tomorrow the latest.
I also updated your Telerik points accordingly.
However, in the meantime you can handle the OnDragQuery(), OnDropQuery() events and when in the OnDropInfo() event the status of the drop operation is DropComplete you can update the RadTabItem's header. Still, you will also need to update the RadTabItem's header when the status of the drag operation in the OnDragInfo() event is DragCancel in order to update the RadTabItem's header whenever it's reordered. I prepared a sample project illustrating this approach. Take a look at the project and let us know if it helps or if you need more info.
All the best,
Tina Stancheva
the Telerik team
Unfortunately, the RadTabControl doesn't expose such events for now. However, I added this as a feature request in our PITS where you will be able to track it under the name:"TabControl: Add DragReorder events" from tomorrow the latest.
I also updated your Telerik points accordingly.
However, in the meantime you can handle the OnDragQuery(), OnDropQuery() events and when in the OnDropInfo() event the status of the drop operation is DropComplete you can update the RadTabItem's header. Still, you will also need to update the RadTabItem's header when the status of the drag operation in the OnDragInfo() event is DragCancel in order to update the RadTabItem's header whenever it's reordered. I prepared a sample project illustrating this approach. Take a look at the project and let us know if it helps or if you need more info.
All the best,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
hvduc
Top achievements
Rank 1
answered on 19 Aug 2010, 03:23 AM
It works for me. Thank you very much
But I find out there's something wrong with your tabcontrol version 2010.2.714.1040. when I drag 1 tab, it make other tabs' header disappear.
I updated to version 2010.2.812.1040 (SP1) and this error was fixed
But I find out there's something wrong with your tabcontrol version 2010.2.714.1040. when I drag 1 tab, it make other tabs' header disappear.
I updated to version 2010.2.812.1040 (SP1) and this error was fixed
0
Hi hvduc,
Yes, there was a known issue with the RadTabItems reordering in the 2010.2.714.1040 version of the controls which was fixed with the SP1 version.
Kind regards,
Tina Stancheva
the Telerik team
Yes, there was a known issue with the RadTabItems reordering in the 2010.2.714.1040 version of the controls which was fixed with the SP1 version.
Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items