Showing posts with label app. Show all posts
Showing posts with label app. Show all posts

Saturday, March 24, 2012

Upgrade from Beta

Hi ive got a server that is running ASP.NET 2.0 AJAX Extensions Beta 2,

ivebuilt a new app using the official release 1.0, when I place the new framework on the server will it cause any issues on my existing app as they will be runing side by side?

I believe that during the installation of the latest version, you will be prompted to remove the old version first. So you will need to upgrade your existing app first.

I'm not sure if copying the dlls directly from where you installed them on your machine and pasting them into the server's GAC would work or not, but it's worth a shot. Technically they're different versions and should be capable of being installed side-by-side, but the installer doesn't allow it.


There are migration guides availablehere. Side by side install is not supported. You need to upgrade to ASP.NET AJAX 1.0.

upgrade to the new release of control toolkit provides versioning trouble

Hi,

I just copied and pasted the new dll of the control toolkit over the old ones. Then i changed the app.config to reflect the new version number :

<addtagPrefix="ajaxToolkit"namespace="AjaxControlToolkit"assembly="AjaxControlToolkit, Version=1.0.10606.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

I also removed all the icons from the toolbox and added them in again.

when i drag an item from the toolbox onto my form, it gives it the tag prefix of cc1 instead of ajaxToolkit.

like

<cc1:TabPanelID="TabPanel1"runat="server">

</cc1:TabPanel>

What is it that i am missing?

Thanks!

It is perfectly normal.

Refer to the following post for more details

http://forums.asp.net/p/1117736/1736819.aspx#1736819


Thanks for the reply and the link. According to the book that you link to, the developers need to add[assembly:TagPrefix("AjaxControlToolkit ", " ajaxToolkit ")] to theAssemblyInfo.cs file for this problem to go away.


First of all, it is not a problem. You don't need to worry about the tag prefix used by the controls.

The tag prefix is decided by the developer of the control. He makes the entry into the AssemblyInfo.cs of the control.

Upgrading Ajax Control Toolkit

Is there a faq on how to upgrade an existing app to a newer version of the control toolkit? What needs to be done etc?

Replace the old toolkit dll reference in your project(s) to the dll from the current release.


Seethis forum post for more details.

Wednesday, March 21, 2012

Use AJAX Extension without using the ASP.Net AJAX Enables Web Site Template

I'm developing a web app using a CMS and I want to use the ASP.Net AJAX Extension. Since I'm using a CMS, I cannot use the VS template.

I tried referencing the DLLs but I'm getting a 'Sys' is undefined javascript error.

Hi ubelt,

If you are not using a template, you will have to manually update your web.config file with all the setting required for AJAX, that's why you are getting this error.
In the documentation you can find exactly how to do it.

Hope this helps,

Juan