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

[Solved] Just Upgraded to Q3 Ajax Tools (Issue)

3 Answers 109 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dwayne Starkey
Top achievements
Rank 1
Dwayne Starkey asked on 05 Nov 2009, 06:44 PM
I just ran the install/Upgrade for the newest release Q3.2009 of the Rad Ajax Tools. I noticed that when I add a control Telerik is not referenced. I have to manually create the line below:

 

<%

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


Is there an issue with the newest release?

Thanks

 

3 Answers, 1 is accepted

Sort by
0
Allen
Top achievements
Rank 1
answered on 05 Nov 2009, 07:14 PM
Dwayne,

That is actually the expected behavior (having to register the assembly on every page), unless you make a convenience entry in web.config to register it site-wide, for example:

<system.web>
...
<pages>
    <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=yourVersionHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    </controls>
</pages>
...
</system.web>

Check the PublicKeyToken and replace yourVersionHere with your exact version. My guess is that the upgrade procedure may have removed this declaration in web.config.

Allen
0
Dwayne Starkey
Top achievements
Rank 1
answered on 06 Nov 2009, 02:02 PM
How do I check the public key token?

I am assuming the version number should be  "2009.3 1103 " for the lastest.

0
Sebastian
Telerik team
answered on 06 Nov 2009, 02:35 PM
Hello Dwayne,

You can see the public key token of Telerik.Web.UI.dll from the code snippets provided in this KB article:

http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx

Best,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Dwayne Starkey
Top achievements
Rank 1
Answers by
Allen
Top achievements
Rank 1
Dwayne Starkey
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or