RadDock bug with ClientIDMode="Static"

5 posts, 0 answers
  1. Valera
    Valera avatar
    7 posts
    Member since:
    Aug 2009

    Posted 25 Jul 2011 Link to this post

    It seems there is a bug when RadDock ClientIdMode is set to Static, which prevents RadDock from closing when clicking "x".
  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 26 Jul 2011 Link to this post

    Hello Valerij,

    We are familiar with this issue, however this behavior is expected. It is recommends by Microsoft to use ClientIDMode set to Static only for static controls.The RadControls on the other hand are controls with complex hierarchies of child controls and templates so setting their ClientIDMode property to Static will break their functionality. What I would recommend is that you do not use ClientIdMode Static for any Telerik controls.

    Best wishes,
    Slav
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karlo
    Karlo avatar
    5 posts
    Member since:
    Oct 2011

    Posted 27 Nov 2011 Link to this post

    The suggestion of not using Static ClientIDMode should have been mentioned for each controls guide. I was pulling my hair off why radnotification is giving me add_responseEnding error until I found this post.
  5. BiBongNet
    BiBongNet avatar
    27 posts
    Member since:
    May 2010

    Posted 05 Aug 2012 Link to this post

    I know this is old thread, but I just give some information:
    I have encountered no problem with other Rad controls until now, except for Rad Notification with error: Unable to get property 'add_responseEnding' of undefined or null reference.

    Just for reference, and hope Telerik guys will take this into account for the future.
  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 08 Aug 2012 Link to this post

    Hi guys,

    The RadNotification does not support ClientIDMode=Static and when it is set some unexpected errors may arise. I strongly advise against setting this value for any of the RadControls. 

    Regarding the methods - the RadNotification does not have a public add_responseEnding method. The events related to the response and updating of the content are the following:
    OnClientUpdating
    OnClientUpdated
    OnClientUpdateError

    and the methods that can attach/detach handlers for them are explained here: http://www.telerik.com/help/aspnet-ajax/notification-setting-event-handlers-javascript.html and are:
    add_updating
    add_updated
    add_updateError
    remove_updating
    remove_updated
    remove_updateError 

    Regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017