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

RadDock Error in a page with master page

2 Answers 109 Views
Dock
This is a migrated thread and some comments may be shown as answers.
shimon
Top achievements
Rank 1
shimon asked on 14 May 2007, 10:33 AM
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 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 14 May 2007, 10:49 AM
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
0
shimon
Top achievements
Rank 1
answered on 14 May 2007, 10:53 AM
Hello,

Thank you for the fix, that worked great.

Thanks,
Shimon
Tags
Dock
Asked by
shimon
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
shimon
Top achievements
Rank 1
Share this question
or