webcontrol and <form> tag

D

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
 
G

Guest

ASCX UserControls become part of your page between the FORM tags that are
already there.
Peter
 

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,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top