shapeshifter999
asked on
Multiple ParseChildren
Hello,
I create a server control in ASP.NET.I tried to manage two multiple collection parameter. Somehow, it does not work. After reading this thread:
https://www.experts-exchange.com/questions/21806770/Multiple-ParseChildren-In-Custom-List-Control.html
I figure out that I need to implement two sub control.
Is there somewhere a working example of a Server Control (ASP.NET) implementing at least two multiple collections properties / subcontrol?
Thank you,
Have a great day!
Sebastien
I create a server control in ASP.NET.I tried to manage two multiple collection parameter. Somehow, it does not work. After reading this thread:
https://www.experts-exchange.com/questions/21806770/Multiple-ParseChildren-In-Custom-List-Control.html
I figure out that I need to implement two sub control.
Is there somewhere a working example of a Server Control (ASP.NET) implementing at least two multiple collections properties / subcontrol?
Thank you,
Have a great day!
Sebastien
ASKER
Hum ... EE complaint about the .svn extension.
I uploaded the code source at:
http://www.hollox.net/a/HlxControl.zip
Thank you,
Sébastien
I uploaded the code source at:
http://www.hollox.net/a/HlxControl.zip
Thank you,
Sébastien
ASKER
I found the solution at this blog:
www.west-wind.com/weblog/posts/2004/Jan/14/Collection-properties-in-ASPNet-Server-Controls-Building-a-TabStrip-Control
Thank you!
Sébastien
www.west-wind.com/weblog/posts/2004/Jan/14/Collection-properties-in-ASPNet-Server-Controls-Building-a-TabStrip-Control
Thank you!
Sébastien
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here the source code of my custom control.
There is two properties with collection: availableValue and selectedValue.
It is possible to drag and drop the custom server control to a aspx page.
It is possible to assign value to both properties with the visual studio editor.
The html tag are generated correctly.
EXCEPT the children are not loaded.
From the mentioned thread, I need to implement two subcontrol. How can we implement this?
Thank you,
Have a great day!
Sébastien