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

popupcontrolextender with radajaxscriptmanager throws 'null' is null or not an object on page load

1 Answer 81 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 05 Feb 2009, 01:33 PM
Hi,

I am using popupcontrolextender in my aspx page. i am opening this page from one of my contentpage.
when this pages pops up i see a java script error say 'null' is null or not an object on page load and when i try to debug this it redirects me on debug page and code where the error occured is

function() {var fn = function() {$get('ctl00_ScriptManager1_HiddenField').value += ';;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:en-US:0d787d5c-3903-4814-ad72-296cea810318:52817a7d:67c678a8;Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:9638cb27-0c96-4947-a8f4-d97afe664a61:393f5085:34f9d57d:9703c1f0:a3f85c94:f2a57eb7:526d426:80c4ad6d:527acb41:a9723048:39249aa4:577694e5:665c7bcf:c6335cbd;AjaxControlToolkit, Version=1.0.10123.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e:en-US:16d938d8-51f5-4794-8714-fcfbd6996217:e2e86ef9:c59c074c:1df13a87:c4c00916:ba594826:c76f1358';Sys.Application.remove_load(fn);};Sys.Application.add_load(fn);})();



even though i set EnablePartialRendering='false' it shows same error
same is working on my contentpage where my radscriptmanager is on my masterpage without this error.
Radscriptmanager code on masterpage is as below

<telerik:RadScriptManager ID="ScriptManager1" Runat="server"
          EnableTheming="True" OutputCompression="AutoDetect" EnablePageMethods="true" >
         </telerik:RadScriptManager>

and the same is on my new aspx page that i am calling from a contentpage and facing jscript error is
<telerik:RadScriptManager ID="ScriptManager2" Runat="server" EnableTheming="True"
            OutputCompression="AutoDetect" EnablePageMethods="true" EnablePartialRendering="false">
         </telerik:RadScriptManager>
<telerik:RadScriptManager ID="ScriptManager1" Runat="server"
          EnableTheming="True" OutputCompression="AutoDetect" EnablePageMethods="true" >
         </telerik:RadScriptManager>

please help me to resolve this issue.
Thanks in advance.

Hrushikesh

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Feb 2009, 08:12 AM
Hi Hrushikesh Mokashi,

Could you please provide additional details about the problem? Ideally you could send us a support ticket and attach a working page which shows the issue. Thanks.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or