Bill Bassler
2008-07-11 16:37:30 UTC
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
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