David:
I'm confused!?
I have several user controls that I put on my forms already.
A book that I'm reading says that you can create your own base form so that
you can inherit from it rather than placing the controls on each new form.
If you do this then you don't need to put your user controls on each form as
they are already there. Also I have some security code that I would like to
put in the base form so I don't run the chance of not including it on each
page.
Is there an alternative to putting all the user controls on each form?
Thanks again,
Fred
"David Coe, MCP" <> wrote in message
news:14B5BB69-1BB0-41C2-A7A8-...
> Fred -
>
> What you are looking to do is make a UserControl (.ascx) file that you can
drop on each page. This control acts like a traditional include file in
ASP, with full code behind support. When you make a change to the control
file, the changes will be displayed everywhere the control is placed.
>
> - David Coe, MCP
|