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

RadDock bug with ClientIDMode="Static"

4 Answers 88 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Valera
Top achievements
Rank 1
Valera asked on 25 Jul 2011, 03:26 PM
It seems there is a bug when RadDock ClientIdMode is set to Static, which prevents RadDock from closing when clicking "x".

4 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 26 Jul 2011, 04:33 PM
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.

0
Karlo
Top achievements
Rank 1
answered on 28 Nov 2011, 12:08 AM
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.
0
BiBongNet
Top achievements
Rank 2
answered on 05 Aug 2012, 06:28 PM
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.
0
Marin Bratanov
Telerik team
answered on 08 Aug 2012, 02:56 PM
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.
Tags
Dock
Asked by
Valera
Top achievements
Rank 1
Answers by
Slav
Telerik team
Karlo
Top achievements
Rank 1
BiBongNet
Top achievements
Rank 2
Marin Bratanov
Telerik team
Share this question
or