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

RadSlidingPane - OnClientUndocked

2 Answers 84 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Chris Williams
Top achievements
Rank 1
Chris Williams asked on 17 Aug 2007, 06:06 PM
I'm implementing a javascript function to resize some content located within an adjacent pane, and I'm using the OnClientDocked, OnClientUndocked, etc. events to call the js function and resize this.

All of the events call the same onSplitterResize js function.

Using a debugger statement in the function, I can see when it's called in response to each event.  However, it's never called after an OnClientUndocked. It appears that the OnClientUndocked event never fires.

My declarative definition looks like this:

<telerik:RadSlidingPane ID="TaskPane" runat="server" CollapseText="<%$Resources:rsWebAdmin, Collapse %>"

DockText="<%$Resources:rsWebAdmin, Dock %>" OnClientDocked="onSplitterResize"

OnClientUndocked="onSplitterResize" Title="<%$Resources:rsWebAdmin, Section_Tasks %>"

UndockText="<%$Resources:rsWebAdmin, Undock %>" Width="220" OnClientCollapsed="onSplitterResize" OnClientExpanded="onSplitterResize" OnClientResized="onSplitterResize">

(then the pane content)
</telerik:RadSlidingPane>

For the js function onSplitterResize, it only has one line, which is the call to debugger;

I'm not using any skins on the control.  Any pointers on where to look?

Chris

2 Answers, 1 is accepted

Sort by
0
Chris Williams
Top achievements
Rank 1
answered on 17 Aug 2007, 10:35 PM
I was able to duplicate the issue in a one-page demo app, so I bundled the project in a zip and submitted a support case.
0
Tsvetie
Telerik team
answered on 20 Aug 2007, 07:24 AM
Hello Chris Williams,
I already answered your question in the support ticket, but I will place the answer here as well, so that it is available to all interested:

I was able to reproduce the problem with our online examples as well. I forwarded the problem to our developers and we will fix it for the next update of the Prometheus suite.

Best wishes,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Chris Williams
Top achievements
Rank 1
Answers by
Chris Williams
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or