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

[Solved] Clarifying Supportability

1 Answer 117 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Maxwell
Top achievements
Rank 1
Maxwell asked on 12 May 2008, 02:41 PM
The new ASP.NET Ajax controls appear to work in the same project as the previous controls as long as they are not both using the same control type on the same page.  The documentation is a bit contradictory in that it states they are compatible but that you must convert everything.  I am trying to clarify what is actually supported.  We have hundreds of old references that have to be recoded because a ton of your methods changed. Because of that I want to do an interum release of the content for testing.  It appears stable but I want to make sure its supported. Can you clarify the support please?

Also, and this is a biggy, where is the documentation that spells out what methods changed to. I will include what I figured out on my own but it would be nice to know what your documentation states.

All Registrations are replaced by 1:

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

Except for charting which is replaced by :

<%@ Register Assembly="Telerik.Charting" Namespace="telerik.Charting" TagPrefix="telerik" %>

All tag prefix are renamed to telerik:

<telerik:AjaxSetting AjaxControlid="RadGrid6">

                <UpdatedControls>

                    <telerik:AjaxUpdatedControl Controlid="RadGrid6" />

                </UpdatedControls>

            </telerik:AjaxSetting>

The “3D” theme is no longer valid so I had to use the “Telerik” Theme for the datagrids.  It is close but not the same.

The skins and scripts folders are used at the root so I added those.

-------------------------------------------------------------------------------------------------

Dump your asp.net temp files (trust me on this one)

C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

If you have this in your code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Delete it because apparently MS Ajax hates standards references.

Ditch your registration tags in favor of these:

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>

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

Add your scriptmanager for ajax to the content start or the form start on a stand alone page:

<asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

Do a find and replace of these:

radC:

radI:

radA:

radG:

radW:

radCb:

with this:

telerik:

-------------------------------------------------------------

Change the name of the loading panel:

AjaxLoadingPanel is now RadAjaxLoadingPanel

In the code behind change this:

 Telerik.WebControls

To this:

Telerik.Web.UI

If you used RadComboBox ensure you change references to value from :

Radcomboboxname.value  To:

Radcomboboxname.selecteditem.value

In GridHyperLinkComumn change DataNavigateUrlField to DataNavigateUrlFields

Note that controls no longer have callback but the page does.  Use Page.Iscallback instead.

Note that you no longer have a DataNavigateURLField instead it is DataNavigateURLGFields for gridcolumns

GridSettingsPersister >> This was a total conversion done by Telerik. 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 13 May 2008, 12:51 PM
Hello Maxwell,

Scenarios like yours, where the application contains different versions of the control's suite, are currently supported by Telerik support team and you will receive support each time a problem with the Telerik controls appears.
The recommendation for upgrading the whole project and convert all the controls to the newest version is due to the fact that we prefer our clients to work on the safe side and preliminarily reduce to minimum any possible problems with our controls that might occur with late upgrade.
Regarding the information for the method changes in the new control's suite, you could refer to our online documentation, where you will find descriptions for the methods in the main changes for each control.

Kind regards,
Maria Ilieva
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Maxwell
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or