|
-
Dec 30th, 2003, 06:53 PM
#1
Thread Starter
Hyperactive Member
A control cannot modify its parents' control collections.
Hey all..
Here is the situation:
I have a user control that has some nifty show/hide functionality that I need all over the place... I want a developer to add this control to their page, then set a property which is the ID of a panel control that they have elsewhere on their page....
When the page loads, i take the ID of that panel they passed to the property of my user control, and i want to do a controls.add to my user control, so that i can do the show/hide stuff to it...
when i run the code, i get the following error: A control cannot modify its parents' control collections.
I read somewhere that using placeholders would resolve this issue, but it hasnt.
Any ideas?
Thanks,
-md
[vbcode]
'*****************************
MsgBox "MCD :: [email protected]", vbInformation + vbOKOnly, "User"
'*****************************
[/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|