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

$find("AjaxManager") doesn't work in usercontrol

1 Answer 65 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 19 Jun 2008, 11:55 AM
Hi All

Why does this line of code return null when it is in a usercontrol?

$find(

"AjaxManager")


And how can I fix it?

Cheers
Jon

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 19 Jun 2008, 11:58 AM
Hello Jonathan,

You can use: 

$find("<%= AjaxManager.ClientID %>");

or

$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or