JS Error using RadConfim

8 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    I'm code that we have had on production servers since Q1 2009 we are now getting a JavaScript error when using RadConfirm.

    As an example, I have a page with a grid on it that uses RadToolBar are the command item.

    Clicking on the 'delete' button fires the ToolbarClicking event, this, in turn calls RadConfirm. A positive response from RadConfirm results in an AjaxRequest. Oddly, the JS error isn't reported 'til the system is part way through processing the Server-side code resulting from the AjaxRequest.

    I can confirm that this is happening not just on one page but all pages using RadConfirm in this way. Sadly that's every page where there is something that can be deleted!

    I'm going to see if I can find a workaround for this, but if I can't then this one error has effectively rendered SP2 U/S!

    -- 
    Stuart
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    The cause of the problem seems to be the Animation property on the RadWindowManager control. If I have it set (or at least, if I have it set to "Fade" which is my default value; I haven't tested the rest of them) then I get the error. Removing the Animation attribute makes the problem go away.

    -- 
    Stuart
  3. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    I've just tested a couple of the other Animation settings and they all produce the error.

    -- 
    Stuart
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    I've logged support ticket #355601 complete with a page demonstrating the problem

    -- 
    Stuart
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    Blast!

    Although this accounts for one cause of the error, it's not a full solution/workaround. My production code is still failing even though I've got these changes in place.

    -- 
    Stuart
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 08 Oct 2010 Link to this post

    For anyone taking an interest in this. I've found the problem in my production code.

    It turns out that some developers had decided to include some or all the attributes set in the skin file (which is what I edited to remove the Animation property for the app) directly in the page.

    Editing the page to remove anything and everything that should be managed in the .skin file seems to address the issue!


    The upshot is that you need to make sure that NONE of your pages/controls (including masterpages) include the Animation property on any RadWindowManagers that they define.

    -- 
    Stuart
    -- 
    Stuart
  7. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Oct 2010 Link to this post

    Hi Stuart,

    I just want to notify you that we confirmed the problem and we already solved it in our internal builds. The fix will be present with the Q3 BETA next week.

    Sincerely yours,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 11 Oct 2010 Link to this post

    Georgi,

    thanks for the update.

    -- 
    Stuart
Back to Top