Connecting Tech Pros Worldwide Forums | Help | Site Map

Several User-Controls in one .aspx file

Yossi
Guest
 
Posts: n/a
#1: Nov 20 '05
Several User-Controls are included in my .aspx file. In
addition, one Submit button is used to post all the .aspx
file data. I would like to manage the fields of a
specific User-Control within the control in a standard
way.

When a submit button is placed within the User-Control,
everything work just fine. If the button is placed
outside the control (so it can enable submition of all
the .aspx's data - and not just the control-relevant
data), I get prefixes for form-fields of the controls
(i.e: cl2:username etc.) and some of the data is lost (in
case of user-control upload-files input fields).
What should I do in order to let each control manage its
self data ?

Thanks in advance,
Yossi

Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#2: Nov 20 '05

re: Several User-Controls in one .aspx file


Hello,

"Yossi" <yossixp@hotmail.com> schrieb:[color=blue]
> Several User-Controls are included in my .aspx file. In
> addition, one Submit button is used to post all the .aspx
> file data. I would like to manage the fields of a
> specific User-Control within the control in a standard
> way.[/color]

You may want to turn to the ng for ASP.NET questions:

news://msnews.microsoft.com/microsof...amework.aspnet

Web interface:

http://msdn.microsoft.com/newsgroups...amework.aspnet

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


Cor
Guest
 
Posts: n/a
#3: Nov 20 '05

re: Several User-Controls in one .aspx file


Yossi,
Is this about a VB.net WebProject with self made VB.net usercontrols in the
VB.net language?
Or are this usercontrols added to the aspx webform?
Cor


Yossi
Guest
 
Posts: n/a
#4: Nov 20 '05

re: Several User-Controls in one .aspx file


Yes, It is about a VB.net WebProject with self made
VB.net usercontrols in the VB.net language.

[color=blue]
>-----Original Message-----
>Yossi,
>Is this about a VB.net WebProject with self made VB.net[/color]
usercontrols in the[color=blue]
>VB.net language?
>Or are this usercontrols added to the aspx webform?
>Cor
>
>
>.
>[/color]
Closed Thread