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

Discussion in 'ASP .Net' started by mrobins@gmail.com, May 4, 2006.

  1. Guest

    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.
     
    , May 4, 2006
    #1
    1. Advertising

  2. 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


    <> wrote in message
    news:...
    > 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.
    >
     
    Andrew Robinson, May 4, 2006
    #2
    1. Advertising

  3. Re: Known issues using 2 of the same Web User Controls on the samepage

    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.

    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.
    >
     
    =?ISO-8859-1?Q?G=F6ran_Andersson?=, May 4, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hermit Dave
    Replies:
    6
    Views:
    3,060
    Hermit Dave
    Jan 19, 2004
  2. Jack
    Replies:
    7
    Views:
    630
  3. Bob Rock
    Replies:
    1
    Views:
    690
    Cowboy \(Gregory A. Beamer\)
    Sep 17, 2006
  4. Jim Hubbard

    List of KNOWN VS2005/Vista issues.......

    Jim Hubbard, Jan 29, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    390
    Willy Denoyette [MVP]
    Jan 31, 2007
  5. Dominic
    Replies:
    4
    Views:
    236
    JuanDG
    Nov 24, 2004
Loading...

Share This Page