When you want to use the placeholder and add
webcontrols or usercontrols in a dynamic way and want
to take advantage of the Anthem library it doesn't
work because as you know the placeholder is not
persistent.
So what I did is I implemented the existing
DynamicPlaceHolder that you can find over here
(http://www.denisbauer.com/ASPNETControls/DynamicContro
lsPlaceholder.aspx) in the existing PlaceHolder
control of the Anthem library. This control will keep
the information in the viewstate.
I've included the PlaceHolder control with this
request (it is not properly organized and I am not
that happy with the viewstate approach but I will
change it when it is approved).
I changed it a little bit so it works properly in the
Anthem environment.
I only tested it with ASP.NET 1.1.
Greetings,
Arkz
Logged In: YES
user_id=87620
Hi.
I'm not sure how I feel about this control. But maybe that's
just because I've gotten used to the fact that controls
don't remember what child controls were dynamically added to
them.
It looks like Denis' license is liberal enough to let us
include it in Anthem so that's not an issue.
I'll ponder it for a bit but I don't see any reason why it
couldn't be included with Anthem since some people may find
it useful (and I do still get questions asking why they
can't invoke methods on their controls during call backs).
Logged In: YES
user_id=1245761
Arkz
Would you mind posting this to the extensions folder over
on
http://forums.anthemdotnet.com/forums/index.php