A derived control will only inherit the codebehind portion. The UI elements
in the .ascx file, postion, etc, are not actually in your (base) class. The
..ascx is "married" to your codebehind on the first time the page is
requested.
If you need to inherit all functionality and UI elements, you should look at
moving to a server control, but there is no GUI for design time UI element
positioning.
HTH,
bill
"Charlie@CBFC" <ch*****@comcast.net> wrote in message
news:OR**************@TK2MSFTNGP10.phx.gbl...
Hi:
When I derive a new user control from an existing user control that
contains UI elements (buttons, textboxes, etc.) and put derived control on a form,
UI elements don't appear when I run the form. Why doesn't derived control
inherit them?
Thanks,
Charlie