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

Register Telerik just in Pages in one folder

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Farshad heidary
Top achievements
Rank 1
Farshad heidary asked on 02 May 2012, 05:47 AM
hi guys
i wanna add telerik component in all page in one folder not in web config
because when i load it in web config Website speed comes down.

can help me plz?
tnx

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 03 May 2012, 01:25 PM
Hello Farshad,

If you do not want to register the RadControls on all pages of your web site, you can use the <%@ Register %> directive to register them on the desired pages:
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

Note that this approach is standard and it is used as well for registering Ajax Toolkit controls or user controls.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Farshad heidary
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or