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

Disable / Enabel Drag or Dock during a Postback

2 Answers 45 Views
Dock
This is a migrated thread and some comments may be shown as answers.
t g
Top achievements
Rank 1
t g asked on 21 Feb 2008, 02:20 PM
Hello,
is it possible to disable a RadDock during a AjaxPostback? I tried something like :

function OnClientDragEnd(sender, eventArgs)

{
sender.set_enableDrag =

false;

sender.set_closed =

true;

sender_dockMode = 0;

}

but nothing heppens.  The Dock ist still enabled and opend?

Thanks for your Help

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 22 Feb 2008, 04:48 PM
Hi,

I recommend you to use the set_enableDrag() method to allow/forbid the RadDock dragging.
You can find a simple demonstration of this in the attached file. In it the necessary ajax request is simulated by using the Thread.Sleep() method in the code behind.


Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
t g
Top achievements
Rank 1
answered on 22 Feb 2008, 05:09 PM
Thanks for your answer and example. Know everythink works fine.
Tags
Dock
Asked by
t g
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
t g
Top achievements
Rank 1
Share this question
or