When I collapse/expand my RadDock in code-behind using RadDock1.Collapsed = True, even if I have EnableAnimation="True" set in my RadDock1, it does not show the animation. Is there a way to do this?
1 Answer, 1 is accepted
0
Pero
Telerik team
answered on 18 Aug 2010, 04:42 PM
Hi Richard,
The RadDock animations are intended to be used when the actual command is fired or the actual action occurs, and not when setting the properties programmatically. Another thing is that when any of the server-side properties are set, a postback or ajax call must occur, which means the whole HTML of the dock will be recreated and the animation cannot be performed.
You could, however, expand/collapse the dock on the client using the dock.set_collapsed(shouldCollapse, shouldPlayAnimation) client-side method, as shown in the following page:
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