add Telerik.Web.UI to web.config

8 posts, 1 answers
  1. jgig
    jgig avatar
    61 posts
    Member since:
    Apr 2008

    Posted 24 Jun 2008 Link to this post

    All I want to know is how do you add Telerik.Web.UI in the web.config instead of 

    <%

    @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    right now I have several pages that register the dll on the page but most of my pages are going to use the dll

    I am using version 2008.1.415.35

  2. Answer
    Daniel
    Admin
    Daniel avatar
    4752 posts
    Member since:
    Sep 2012

    Posted 24 Jun 2008 Link to this post

    Hi Jeremy,

    You could use the following approach for instance:

    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2008.1.609.20, Culture=neutral"/> 

    Just replace the version of controls with yours.

    Sincerely yours,
    Daniel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Thomas Yost
    Thomas Yost avatar
    2 posts
    Member since:
    Jun 2008

    Posted 24 Jun 2008 Link to this post

    That fixed my intellisense issues when I used master pages.

  4. a
    a avatar
    18 posts
    Member since:
    Jul 2006

    Posted 19 Aug 2008 Link to this post

    Is there a benefit to specifying the version number and the culture?

    Writing this seems to work:
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

  5. Yavor
    Admin
    Yavor avatar
    11 posts
    Member since:
    Dec 2013

    Posted 20 Aug 2008 Link to this post

    Hi,

    There is no particular merit, other than making sure that you are using a specific version. When you specify the version/public key token, only a specific dll will be targeted. If you remove them, you can replace the actual dlls with a different version, and the runtime will not complain.

    Best wishes,
    Yavor
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  6. Martin
    Martin avatar
    199 posts
    Member since:
    Oct 2005

    Posted 05 Sep 2008 Link to this post

    Hi, the current online documentation says to add the RadControls registration with an empty tagPrefix, e.g:$0$0$0$0<pages>$0  <controls>$0    <add tagPrefix="" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />$0  </controls>$0</pages>$0$0$0$0$0$0See this page for the full version:$0$0http://www.telerik.com/help/aspnet-ajax/installaddingtoappwithvs.html$0$0$0$0$0$0Is this the recommended way to register the RadControls? Or is it still possible to register them with a prefix, e.g. "telerik"?$0$0$0$0$0Thanks for your help.$0

  7. Sebastian
    Admin
    Sebastian avatar
    9798 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2008 Link to this post

    Hi Martin,

    This seems to be a glitch in the online documentation - thank you for drawing our attention to this detail. The article will be updated for the next version of the help accordingly since you need to specify tag prefix in the Register directive, for example:

    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />

    I updated your Telerik points for the involvement.

    Best regards,
    Stephen
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  8. Martin
    Martin avatar
    199 posts
    Member since:
    Oct 2005

    Posted 05 Sep 2008 Link to this post

    Thanks for the quick reply.

Back to Top