Several User-Controls in one .aspx file

Y

Yossi

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
 
H

Herfried K. Wagner [MVP]

C

Cor

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
 
Y

Yossi

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

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

Top