opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dotnet-web@discuss.develop.com 12 July 2008 • 12:37AM -0400

[DOTNET-WEB] AssociatedControlID in a custom templated control
by Bill Bassler

REPLY TO AUTHOR
 
REPLY TO GROUP



Can anyone point me to information on how to suppoer AssociatedControlID
for Label controls that might be dragged into templated panel-like server
control?

I have a control that I created that supports expanded and contracted
panels so that you can drag any controls into the panels at design-time.
However, when I attempt to set the AssociatedControlID property to
associate a Label that is also inside of the panel I get a non-sensical
design time duplcate control ID FindControl error on the Label control in
question for the first control that exists in the template. This would
seem to some kind of naming container issue where maybe the Label control
is attempting to find the control defined in the AssociatedControlID
property but it cannot.

Is there something maybe I need to implement in TemplatedControlDesigner
code to wire this stuff up?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.