RadDock Error in a page with master page

3 posts, 0 answers
  1. shimon
    shimon avatar
    37 posts
    Member since:
    Apr 2007

    Posted 14 May 2007 Link to this post

    Hello,

    I moved my Dynamic Dock example to a page with a master page and ContentPlaceHolder.
    When i run it a get this error:
    Microsoft JScript runtime error: 'null' is null or not an object.

    On this line:
    </title><link href="/Xone8/WebResource.axd?d=JYItj4zFqoAGwRUEl-E82KSRAR8ViGbNYE9UPIBbgRA_ewW81lqGk_MFps_LaA7y0&amp;t=633129527780000000" type="text/css" rel="stylesheet" /><link href="/Xone8/WebResource.axd?d=JYItj4zFqoAGwRUEl-E82KSRAR8ViGbNYE9UPIBbgRA0PrxzGxCsXopeyPS3nq4hMS5TBrjVU08cClyNlImGww2&amp;t=633129527780000000" type="text/css" rel="stylesheet" /><link type="text/css" rel="stylesheet" href="/Xone8/WebResource.axd?d=nS3xVFy4qT24WAh36i0R7zPD27K2dMn5znT3czS1xGNxGnxfsqh8zk0GBT0vpIrV7aqF215BI2DjOeltKPW-25T5Ar8AQNaNJ9GbLykFNRk1&amp;amp;t=633131020580000000" /><link type="text/css" rel="stylesheet" href="/Xone8/WebResource.axd?d=nS3xVFy4qT24WAh36i0R7zPD27K2dMn5znT3czS1xGNxGnxfsqh8zk0GBT0vpIrV9mSvD35NNSuSsIamyVSYJ7T9qH5aLsXwd8ei1IoGSCo1&amp;amp;t=633131020580000000" /></head>

    I download your trial hotfix of Prometheus but this error still exists.

    Thanks,
    Shimon
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 14 May 2007 Link to this post

    Hello shimon,

    Most probably you missed to modify something in the example. Could you please send us a complete simple application which could be used to demonstrate the problem? Most probably the RadDockZone1.ClientID from the following code snipped is wrong:
    ScriptManager.RegisterStartupScript(
    UpdatePanel1,
    typeof(RadDock),
    "DockIntoZone",
    string.Format(@"
    Sys.Application.add_load(function() {{
    if (typeof(Telerik.Dock{0}Moved) === 'undefined')
    {{
    $find('{1}').dock($find('{0}'));
    Telerik.Dock{0}Moved = true;
    }}
    }});", dock.ClientID, RadDockZone1.ClientID),
    true);


    Greetings,
    Valeri Hristov (Senior Developer, MCSD)
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. shimon
    shimon avatar
    37 posts
    Member since:
    Apr 2007

    Posted 14 May 2007 Link to this post

    Hello,

    Thank you for the fix, that worked great.

    Thanks,
    Shimon
Back to Top