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

Telerik controls in compiled library of composite user controls for use on several websites

3 Answers 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 12 Mar 2010, 01:02 PM
Hi
I wonder if anyone can give us any guidance on (or - better still - examples of) how to use Telerik controls to create a compiled library of copmposite user controls for use across several websites?

We have a series of "selector" user controls which have several Telerik text boxes (to give search paramters) and a final combo to select a company, person, etc. We also have user controls with Telerik grids with right-click menus (Telerik contect menus). We want to put these in a separate project and compile them into a dell that we can use on several websites, to share their functionality and to add properties (eg the ID from the final combo) that can be accessed from our code libraries.

Is there any problem in using Telerik controls in compiled user controls (because they are, themselves, compiled composite user controls)? Can we use a RAD proxy manager in each user control so that it does not make the parent pages postback for each internal event? Or will we need a proxy manager because they need to be self-vontained? Is there going to be a problem using a contect menu inside a compiled user control? If we succeed in crwating the dll with all these controls, and we add a reference to the dll in each website, will we be able to see our control collection in the Visual Studio toolbox, so that we can simply drag them onto our pages? Do we need interfaces to enforce standard properties and methods? Can we add our own event handlers for the composite controls?

Any advice will be welcome and I hope others will also be able to create control libraries from the guidance we collect. If anyone has an existing collection of user controls like this that they are willing to let us examine, it would be even better - we are prepared to offer ours if someone helps us to create it !

Living in hope! Neil

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 18 Mar 2010, 01:00 PM
Hello Neil ,

As long as you use our controls to develop web sites and keep them protected from being used separately from your apps by unauthorized/not licensed users, your code implementation will not be in conflict with the license agreement you accepted when you installed our AJAX components.
 
In order to redistribute RadControls for ASP.NET AJAX with your custom software, you will need to make sure that you followed strictly the redistribution guidelines attached to this forum post.

As far as these rules are honored, you can integrate our controls in your custom composite controls/software components and take advantage of their features and design-time capabilities.

Best regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Neil
Top achievements
Rank 1
answered on 19 Mar 2010, 03:36 PM
Dear Sebastian
I'm afraid you missed my point - maybe it was not clear enough. I was not concerned about the license agreement - I am fully aware of that and have no intention of allowing any of our work to be ditributed - we use it only for websites that we manage for clients. The issue was more one of technical issues in compiling controls with Telerik controls within them. For the moment, we have found a way of doing it with simple user controls (ascx), with interfaces to get / set the values. I am hoping we can later compile these into a library to use across our sites and any good guidelines on doing this - or examples (ie of compiled libraries of user / composite controls) would be very useful.
Best regards,   Neil
0
Sebastian
Telerik team
answered on 24 Mar 2010, 12:53 PM
Hello Neil ,

Thank you for the clarification - now I think I see your point more clearly.

Building custom composite controls which are wrappers for RadControls for ASP.NET AJAX and compiling them into assemblies should be no different than doing that without our web controls. If your code conforms to the general guidelines from the resources below you should not experience any issues:

http://msdn.microsoft.com/en-us/library/aa479016.aspx
http://msdn.microsoft.com/en-us/library/aa719968(VS.71).aspx

http://weblogs.asp.net/scottgu/archive/2006/01/29/436854.aspx

Best regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Neil
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Neil
Top achievements
Rank 1
Share this question
or