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

Adding forbiddenZones in JavaScript

1 Answer 54 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 26 Feb 2008, 02:46 PM
Hello,
how to add forbidden zones in javascript? I know the function set_forbiddenZones but I dont know the type of Parameter.

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 27 Feb 2008, 02:45 PM
RadDock have a ._forbiddenZones collection on the client.You can use this code:
var dock1 = $find("RadDock1");
dock1._forbiddenZones[0]=
"RadDockZone2";
dock1._forbiddenZones[1]=
"RadDockZone3"


 "RadDockZone2" is RadDockZone2.ClientID
Tags
Dock
Asked by
t g
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or