Home All Groups Group Topic Archive Search About

using ASPNET objects in custom webcontrol

Author
20 Feb 2006 2:08 AM
Dariusz Tomon
Hi

In my project I have got several webcontrol (ascx). How can I handle with
the problem:
I would like to have some ASPNET object (DropDownList, InputBox etc.) in one
webcontrol (this webcontrol is a part of Default.aspx page where I have
<form runat=server> tag. But this tag does not cover this webcontrol - let's
say "header" webcontrol 'cos it is needed by other webcontrols.
So ... telling in short I cannot have <form runat=server> in my control. The
question is how can I handle with this situation and how can I can build
i.e. DropDownList - yet with postback function.
Is it possible?

Darek

Author
20 Feb 2006 6:20 PM
DWS
If you build it they will come.

Good Luck
DWS

Show quoteHide quote
"Dariusz Tomon" wrote:

> Hi
>
> In my project I have got several webcontrol (ascx). How can I handle with
> the problem:
> I would like to have some ASPNET object (DropDownList, InputBox etc.) in one
> webcontrol (this webcontrol is a part of Default.aspx page where I have
> <form runat=server> tag. But this tag does not cover this webcontrol - let's
> say "header" webcontrol 'cos it is needed by other webcontrols.
> So ... telling in short I cannot have <form runat=server> in my control. The
> question is how can I handle with this situation and how can I can build
> i.e. DropDownList - yet with postback function.
> Is it possible?
>
> Darek
>
>
>