Javascript Issue with 2009.1.311.20

6 posts, 0 answers
  1. Andrew
    Andrew avatar
    104 posts
    Member since:
    May 2008

    Posted 17 Mar 2009 Link to this post

    Today I upgraded from the Telerik.Web.UI version 2008.3.1125.20 to version 2009.1.311.20. Doing so broke all the javascript/AJAX functionality on my webpage. After a couple of hours of removing controls I eventually narrowed the problem down to setting the RadDock.Visible property to false.

    When that property is set to false, either in the markup or in the code behind, a javascript error occurs in the MicrosoftAjax.js file. With identical code this error does not occur for the previous version of the Telerik.Web.UI assembly.

    Here is a link to a sample project I have created demonstrating the issue: http://dl.getdropbox.com/u/109257/RadControlsExample.zip.

    Currently the project references the 2009.1.311.20 version of the Telerik.Web.UI assembly in the /dep/Telerik.Web.UI/2009.1.311.20 folder. You can run the project to see that an error occurs in the javascript execution of the page. You will also notice that the javascript function DockInitialize() that I added to the Default.aspx markup that changes the cursor when you mouse onto and off of the title bar for the RadDocks does not work because of this error.

    If you change the referenced Telerik.Web.UI assembly to the one located in the /dep/Telerik.Web.UI/2008.3.1125.20 folder (the previous version) and uncomment the proper .axd references in the Web.config file you will see that the page loads without error and the javascript functions properly.

    I'm would like a solution to this error so I can upgrade as soon as possible. In the meantime I am going to have to use an older version of the Telerik.Web.UI assembly.

    Thank you.

  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 19 Mar 2009 Link to this post

    Hi Andrew,

    By design the RadDock control could be visible or hidden on the page. Instead RadDock.Visible property, You should use the RadDock.Closed property. 


    Regards,
    Petio Petkov
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christopher Bishop
    Christopher Bishop avatar
    50 posts
    Member since:
    May 2008

    Posted 19 Mar 2009 Link to this post

    Andrew,
    As a general rule i never use the visible tag on "anything" for this exact reason, it happens to a few asp.net controls as well. but rather use Close or style='display:none;' to show and hide controls etc.

    I prefer using display:none because it allows me to hook up some client js to show and hide without taking a trip to the server.

    Christopher
  5. Madhuri Nimse
    Madhuri Nimse avatar
    2 posts
    Member since:
    Dec 2009

    Posted 31 Jan 2010 Link to this post

    Hi ,

    I am new to RAD Control.
    I want to know ASP.NET 2009.1.311.20 version support to which Framework 2.0/3.0/3.5 ?
    I am quite confused.

    Thanks & Regards,
    Madhuri Nimse
  6. Christopher Bishop
    Christopher Bishop avatar
    50 posts
    Member since:
    May 2008

    Posted 31 Jan 2010 Link to this post

    @Madhuri, Supports all of them. :)
  7. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 03 Feb 2010 Link to this post

    Hi Madhuri,

    Telerik provides two Telerik.Web.UI libraries (DDLs) - one for .NET Framework 2.0 and the other one for .NET Framework 3.5. If your application is using 2.0 version than you should use the .NET 2.0 Telerik DLL.


    Regards,
    Pero
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017