Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Known issues using 2 of the same Web User Controls on the same page

Reply
Thread Tools

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

 
 
mrobins@gmail.com
Guest
Posts: n/a
 
      05-04-2006
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.

 
Reply With Quote
 
 
 
 
Andrew Robinson
Guest
Posts: n/a
 
      05-04-2006
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.

--

Andrew Robinson
www.binaryocean.com


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> 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.
>



 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?G=F6ran_Andersson?=
Guest
Posts: n/a
 
      05-04-2006
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.

http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> 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.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues in ASP.NET 2.0 when dynamically loading user controls or asp.net web controls??? Bob Rock ASP .Net 1 09-17-2006 01:49 PM
User Controls with same name on same page rgparkins@hotmail.com ASP .Net 3 05-16-2006 12:55 PM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Building Controls 1 01-04-2005 04:09 PM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Web Controls 1 01-04-2005 04:09 PM
Are they known issues of Openwave 5.0 with ASP.NET mobile controls? Dominic ASP .Net Mobile 4 11-24-2004 04:04 PM



Advertisments