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

Using asp.net user control with RadAjaxManager

2 Answers 83 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Manish
Top achievements
Rank 1
Manish asked on 12 Mar 2012, 12:30 PM
Hi,
Scenario:
My asp.net Usercontrol(acsx) is wrapped in radajaxpanel control.

I embedded this control in a aspx page which has RadAjaxManager.

I want to update control using ajax manager. when I pass Control unique ID. It throws exception that ClientID is not availabel for UserControl, 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 Mar 2012, 02:04 PM
Hello,

RadAjaxManager allows a single instance of the control on the same page only. You can use RadAjaxManagerProxy when using usercontrols. Check the following help documentation which explains the same.
RadAjax and WebUserControls

-Shinu.

0
Manish
Top achievements
Rank 1
answered on 12 Mar 2012, 02:23 PM
Thanks for Reply,
I aware of these basics.
I tried to do Postback on UserControl, whcih cannot be done because Asp.net is not able to for exact ClientID for the DIV which is representing that usercontrol. I passed uniqueID of UserControl, I got exception, i digged into Javascript i found above one as reason.
I used Radajax Panel and it worked fine.
Tags
Ajax
Asked by
Manish
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Manish
Top achievements
Rank 1
Share this question
or