Hi
I am using Radgrid,radwindow controls,when i am using paging,sorting or filtering the following error comes in status bar
Sys.InvalidOperationException: A control is already associated with the element.
How i can remove this and what is the cause of this error?
Thanks
Atul
I am using Radgrid,radwindow controls,when i am using paging,sorting or filtering the following error comes in status bar
Sys.InvalidOperationException: A control is already associated with the element.
How i can remove this and what is the cause of this error?
Thanks
Atul
5 Answers, 1 is accepted
0
Hello atul,
This is a general MS AJAX error which is widely discussed on the web as you can see from the search results. If you cannot find what is causing the error in you case reviewing the related discussions, we will definitely need more information about your scenario to be able to help you further.
Regards,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
This is a general MS AJAX error which is widely discussed on the web as you can see from the search results. If you cannot find what is causing the error in you case reviewing the related discussions, we will definitely need more information about your scenario to be able to help you further.
Regards,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Michael
Top achievements
Rank 1
answered on 10 Sep 2008, 03:32 PM
I am receiving the same error message.
It only happens in IE.
Has anyone solved this issue? If so, how did you solve it?
Michael
It only happens in IE.
Has anyone solved this issue? If so, how did you solve it?
Michael
0
Hello Michael,
Could you please try the solution suggested here:
A control is already associated with the element
Best regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you please try the solution suggested here:
A control is already associated with the element
Best regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Randy
Top achievements
Rank 1
answered on 29 Sep 2008, 05:25 PM
I need some validation on this topic. I ran my application and recieved no errors. My application consist of the following:
MasterPage
-- ContentPage
---- RadAjaxManagerProxy
---- RadAjaxLoadingPanel
---- RadAjaxPanel
------ RadPanelBar
-------- During the onitemdatabound event I add a WebUserControl that I created which displays each record.
-------- Inside my WebUserControl I added an ASP.NET button control.
As soon as I added this ASP.NEt button control i recieved the following error:
Sys.InvalidOperationException: A control is already associated with the element.
My question is, am I designing my app incorrectly, is the Telerik Ajax un-aware that my button is on each WebUserControl that is added to each item in the RadAjaxPanel? What do I need to do to move beyond this error? If you need my code, let me know.
MasterPage
-- ContentPage
---- RadAjaxManagerProxy
---- RadAjaxLoadingPanel
---- RadAjaxPanel
------ RadPanelBar
-------- During the onitemdatabound event I add a WebUserControl that I created which displays each record.
-------- Inside my WebUserControl I added an ASP.NET button control.
As soon as I added this ASP.NEt button control i recieved the following error:
Sys.InvalidOperationException: A control is already associated with the element.
My question is, am I designing my app incorrectly, is the Telerik Ajax un-aware that my button is on each WebUserControl that is added to each item in the RadAjaxPanel? What do I need to do to move beyond this error? If you need my code, let me know.
0
Hi Randy,
Generally it is not recommended to use both RadAjaxManager and RadAjaxPanel at the same time. Doing so might lead to errors and unexpected behavior. You can read more about this here. Can you try using only one of the controls to ajaxify the page and see if that helps resolve the issue?
Kind regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Generally it is not recommended to use both RadAjaxManager and RadAjaxPanel at the same time. Doing so might lead to errors and unexpected behavior. You can read more about this here. Can you try using only one of the controls to ajaxify the page and see if that helps resolve the issue?
Kind regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.