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

Register assembly to a specific control

3 Answers 102 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Adeel
Top achievements
Rank 1
Adeel asked on 29 Sep 2014, 01:40 PM
I have Telerik Assemblies (old and new) registered in GAC.
i want that my RadImageEditorControll run with new assemby. How can i do it?

i want all my application and controlls to run with old assembly only radimageeditor to run with new assembly?
is there any way to do it in web.config?

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 29 Sep 2014, 02:33 PM
Hi Adeel,

Our controls are refered per application, not per single control and there is no way to achiev the described scenario. All of the controls in the application must run one and the same version of the Ui for ASP.NET aJAX suite.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Adeel
Top achievements
Rank 1
answered on 29 Sep 2014, 03:01 PM
i am using both new assembly and old assembly at a time.
in web.config i have registered old assembly and only on the page where i have used radimage editor i have explicitly registered New assembly on aspx page and that controll is working fine because it is only in the new assembly but when i place another control on that page then it gives confilict assembly error because that exist in both assemblies .

i have specified on that page explicitly to run on New assembly so why cant the new control added on that page not working but if i remove it then red image editor control works perfect.
why cant both controlls runs on new assembly on that page?
0
Accepted
Vessy
Telerik team
answered on 02 Oct 2014, 01:07 PM
Hi Adeel,

The experienced behavior is expected since controls are not designed to be used in multiple versions per one project. Even if the controls are registered with different version in the separate pages, they can make requests to a handler form a different version (Telerik.Web.UI.WebResource) which will break their functionality.

In short - having more than one version of the controls is not supported and highly not recommended scenario which can lead to many unexpected issues.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ImageEditor
Asked by
Adeel
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Adeel
Top achievements
Rank 1
Share this question
or