Adding forbiddenZones in JavaScript

2 posts, 0 answers
  1. t g
    t g avatar
    3 posts
    Member since:
    Feb 2006

    Posted 26 Feb 2008 Link to this post

    Hello,
    how to add forbidden zones in javascript? I know the function set_forbiddenZones but I dont know the type of Parameter.

  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 27 Feb 2008 Link to this post

    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
Back to Top