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

add Telerik.Web.UI to web.config

7 Answers 1626 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jgig
Top achievements
Rank 1
jgig asked on 24 Jun 2008, 03:01 PM
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

7 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 24 Jun 2008, 04:42 PM
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
0
Thomas Yost
Top achievements
Rank 1
answered on 24 Jun 2008, 11:26 PM
That fixed my intellisense issues when I used master pages.
0
a
Top achievements
Rank 1
answered on 19 Aug 2008, 10:44 PM
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"/>
0
Yavor
Telerik team
answered on 20 Aug 2008, 05:13 AM
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.
0
Martin
Top achievements
Rank 1
answered on 05 Sep 2008, 01:43 PM
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
0
Sebastian
Telerik team
answered on 05 Sep 2008, 01:50 PM
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.
0
Martin
Top achievements
Rank 1
answered on 05 Sep 2008, 02:03 PM
Thanks for the quick reply.
Tags
General Discussions
Asked by
jgig
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Thomas Yost
Top achievements
Rank 1
a
Top achievements
Rank 1
Yavor
Telerik team
Martin
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or