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

Unable to get value of the property 'ajaxRequestWithTarget'

1 Answer 101 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kris
Top achievements
Rank 1
Kris asked on 19 Jul 2012, 09:48 PM
Hi all,
I am trying to call ajaxRequestWithTarget on a telerik radajaxpanel like this:
<%= radajaxpanel.ClientID %>.ajaxRequestWithTarget('<%= radajaxpanel.UniqueID %>', eventArgs.get_item().get_value() + '|' + ID + '|' + isDelete);                    
and getting this error:
 
Microsoft JScript runtime error: Unable to get value of the property 'ajaxRequestWithTarget': object is null or undefined
 
I tried to change the code to 
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
 
ajaxManager.ajaxRequestWithTarget('<%= radajaxpanel.UniqueID %>', eventArgs.get_item().get_value() + '|' + ID + '|' + isDelete);
 

and Its working. But I want to use ajaxRequestWithTarget with ajaxPanel.
 
I am wondering if anyone came across this issue before. Thanks in advance. 

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 27 Jul 2012, 01:26 PM
Hello,

ajaxRequestWithTarget is the method/event of RadAjaxManager1.


Please check below links.
http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html
http://www.telerik.com/help/aspnet-ajax/ajax-radajaxpanel-client-object.html

Thanks,
Jayesh Goyani
Tags
Ajax
Asked by
Kris
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or