Hi,
I have a RadPanelBar in a RadPane which is part of a Rad Splitter. I have one vertical splitter, thus one left pane and one right pane. The panel bar is in the left pane and should resize to maintain the width of the left pane as the left pane resizes.
In my attempt to accomplish this, I have caught the OnClientBeforeResize event on the RadPane. I then set the width of the PanelBar accordingly. I have used the http://www.telerik.com/help/aspnet-ajax/panelbar-resize-to-the-width-of-the-widest-radpanelitem.html for guidance. I try to retrieve the current width of the bar then add the value from args.get_delta() on the BeforeResize event but I am not getting any joy here since panelBar.width() returns null and panelbar.width(500) (for example) simply doesn't resize the bar.
This is in IE8 and I notice that the documentation guidance linked to above specifically tests for IE6 and IE7.
Please help!
Thanks
I have a RadPanelBar in a RadPane which is part of a Rad Splitter. I have one vertical splitter, thus one left pane and one right pane. The panel bar is in the left pane and should resize to maintain the width of the left pane as the left pane resizes.
In my attempt to accomplish this, I have caught the OnClientBeforeResize event on the RadPane. I then set the width of the PanelBar accordingly. I have used the http://www.telerik.com/help/aspnet-ajax/panelbar-resize-to-the-width-of-the-widest-radpanelitem.html for guidance. I try to retrieve the current width of the bar then add the value from args.get_delta() on the BeforeResize event but I am not getting any joy here since panelBar.width() returns null and panelbar.width(500) (for example) simply doesn't resize the bar.
This is in IE8 and I notice that the documentation guidance linked to above specifically tests for IE6 and IE7.
Please help!
Thanks
function RadPaneMainNavigation_OnClientBeforeResize(sender, Args) {
alert(Args.get_delta());
var panel = $telerik.$("<%= PanelBarNavigation.ClientID %>");
alert(panel.width());
panel.width(500);
}