Known issues using 2 of the same Web User Controls on the same page

M

mrobins

Are there any known issues about using two of the same Web User
Controls on the same page? I lose state and values in one control when
the other control is activated.
 
A

Andrew Robinson

No known issues and I do it all the time. How are you storing your state? If
it is in Session that might be an issue since that is shared across the
application.
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

If the user controls are correctly written, there shouldn't be any problems.

If you use ViewState, make sure to use the ViewState of the user
control, not the ViewState of the page.
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top