DarioSantarelli.Blog(this);

AjaxControlToolkit v1.0.10606: strange behaviour of the ModalPopupExtender Control with DropShadow

Posted by dariosantarelli on June 13, 2007

I’d like to signal a strange behaviour of the latest version of the ModalPopupExtender control that I’ve just noticed. Let’s suppose we have this scenario: two ModalPopupExtender with different TargetControlID but same PopupControlID and DropShadow=”true”. Well, with the latest version of the control, when you click on one of the two controls TargetControlID, the client-side framework throws the following exception:

“Sys.InvalidOperationException: Two components with the same id ‘<PopupControlID>$DropShadowBehaviour’ can’t be added to the application”

As you can notice immediately, it seems a problem concerning the DropShadow property of the ModalPopuExtender. In fact, if you set it to “false”, magically everything works fine. I’m very disappointed about this seeming bug because in the previous version of AjaxControlToolkit this control worked regularly in this simple scenario.

Advertisements

One Response to “AjaxControlToolkit v1.0.10606: strange behaviour of the ModalPopupExtender Control with DropShadow”

  1. Dan said

    In version 1.0.10618.0, the same behavior is happening. Silly really.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: