Register Telerik just in Pages in one folder

2 posts, 0 answers
  1. Farshad heidary
    Farshad heidary avatar
    53 posts
    Member since:
    Oct 2009

    Posted 02 May 2012 Link to this post

    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?
  2. Slav
    Slav avatar
    1359 posts

    Posted 03 May 2012 Link to this post

    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,
    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.
Back to Top