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

RadAjaxManager javascript error

2 Answers 58 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Sinan
Top achievements
Rank 1
Sinan asked on 21 Jul 2009, 08:48 PM
after upgrading to the new version of Telerik I have this error on page contain RadAjaxManager control
when I try to assign RadAjaxManager   to a javascript variable , it say Error: 'ajaxManager' is undefined


 
while it is defined ,

I define it here
 Page.ClientScript.RegisterStartupScript(Page.GetType(), "manID", "var ajaxManager=" + ajaxMan.ClientID + ";  \n", true);


2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 24 Jul 2009, 11:29 AM
Hi sinan h,

It looks like you want to assign the client ID of the AjaxManager to a variable (not the client instance of the control). Is that correct?

Also, you have not provided information what Javascript code triggers the error. Please clarify.

All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Sinan
Top achievements
Rank 1
answered on 30 Jul 2009, 04:03 PM
I also tried with $find and not work
Iam trying to assing client instance of the  ajax manager in javascript
Tags
ScriptManager and StyleSheetManager
Asked by
Sinan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Sinan
Top achievements
Rank 1
Share this question
or