Here is my need:
I have one RadPanelItem that I need to be the full 100% height, except when a second RadPanelItem is expaned. I want both of them to be displayed, but I want the PanelBar to be at full height. Is there a way to accomplish this now?
I hope that made some sense.
Seth
5 Answers, 1 is accepted
Thanks for the suggestion.
Unfortunately, such expand mode will be very hard to be implemented and I doubt you will see it soon in the control. Anyway, your request has been logged in our ToDo list for future consideration.
All the best,
Paul
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
In my case I wanted the mode to be SingleExpandedItem, but have the PanelBar always stayed within a known height limit, and have the currently displayed panel scroll if required. Once I understood the client API, it wasn't too hard to make it happen. Trust me, if I can do it, any fool can do it... LOL.
Would you custom ExpandMode work if the "know height limit" were know only as "100%"?
Would you be willing to share the code?
--
Stuart
I can’t comment with authority on your specific requirements of 100% height, but at a guess, I would think so.
I can’t publish the code I wrote, as it belongs to the customer I wrote it for, but it wasn’t very complex or extensive.
Basically the OnClientItemClicking client event lets you know that they are clicking on a PanelItem, so you can then intercept to manipulate the properties of the RadPanelBar and RadPanelItem objects, as required... and cancel the default actions if desired.
Once you know the mapping of the PanelBar and PanelItem object to the underlying html elements (detailed in the help) manipulating the display
becomes much easier to understand.
I’m sure you can get some good hints and guides from Telerik support if you ask nice... as they certainly helped me write mine :)
Number 146 n the ToDo list ...
--
Stuart