471,082 Members | 816 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,082 software developers and data experts.

webcontrol and <form> tag

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
Feb 20 '06 #1
1 1323
ASCX UserControls become part of your page between the FORM tags that are
already there.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"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

Feb 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.