Collection Property of Another Custom Server Control

Discussion in 'ASP .Net Building Controls' started by Sean, Jan 11, 2006.

  1. Sean

    Sean Guest

    Hi,
    I read more and figured out how to build what I needed:
    <cc>
    <item></item>
    <item></item>
    </cc>

    when <item> is an editable control in designer and I can drag and drop
    controls in it.

    The problem I'm having is to preserve user values on postbacks.
    I found posts that recommend IStateManager, but this is not for server
    controls.
    What can be done to solve the problem?

    PS: If I put <item></item> control out, it preserves user inputs on
    postbacks. I probably miss some kind of link in viewstate management between
    <cc> and <item>s...
    Sean, Jan 11, 2006
    #1
    1. Advertising

  2. Sean

    Sean Guest

    Ok, figured out how to do it.

    "Sean" wrote:

    > Hi,
    > I read more and figured out how to build what I needed:
    > <cc>
    > <item></item>
    > <item></item>
    > </cc>
    >
    > when <item> is an editable control in designer and I can drag and drop
    > controls in it.
    >
    > The problem I'm having is to preserve user values on postbacks.
    > I found posts that recommend IStateManager, but this is not for server
    > controls.
    > What can be done to solve the problem?
    >
    > PS: If I put <item></item> control out, it preserves user inputs on
    > postbacks. I probably miss some kind of link in viewstate management between
    > <cc> and <item>s...
    >
    Sean, Jan 12, 2006
    #2
    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. Lloyd Dupont
    Replies:
    0
    Views:
    463
    Lloyd Dupont
    Jul 27, 2003
  2. Rene Aichinger
    Replies:
    0
    Views:
    542
    Rene Aichinger
    Dec 7, 2005
  3. Øyvind Isaksen
    Replies:
    1
    Views:
    966
    Øyvind Isaksen
    May 18, 2007
  4. Matt Sokol
    Replies:
    2
    Views:
    379
    Theo Tillotson
    Aug 7, 2003
  5. whoisnidhee
    Replies:
    0
    Views:
    305
    whoisnidhee
    Jul 15, 2004
Loading...

Share This Page