Nested controls overriden by skin file

G

Gerrit Horeis

Hello NG,

I'm develping a custom control, which should have some further nested
child controls. All works fine but when I'm assigning a skin to the
Control, all childcontrols and even the "Text" property where
"overriden". I can see that because of a break point in the set
accessor of the control (TableCell) where I placed the childcontrols.

Here is a short code snippet that hopefully can explain what I'm
trying to do:

<mycontrols:DialogWindow>
<Content>
<asp:Label etc.... />
</Content>
</DialogWindow>

DialogWindow derives from WebControls.Table
Content derives from WebControls.TableCell

All other needed controlls such as TableRows and further cells are
added in the RenderContents method of my user control

Is someone able to help out!

Thanks in advance!


--
Gerrit Horeis

Software Developer
CI-Gate Development & Consulting GmbH
http://www.ci-gate.de
http://www.xira.de
http://www.bitbauer.de
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top