dynamic added user control and viswstates

Discussion in 'ASP .Net' started by jason, Jun 23, 2006.

  1. jason

    jason Guest

    Hi,

    In my aspx page, a user control is dynamically adding other user control and
    add it to PlaceHolderControl.

    The dynamic user control has a Datagrid control. On postback, the viewstate
    of this datagrid is destroyed. How to maintain the viewstate of this
    datagrid on postback?

    thanks.
     
    jason, Jun 23, 2006
    #1
    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. Bennett Haselton
    Replies:
    1
    Views:
    543
    John M Deal
    Nov 8, 2004
  2. Replies:
    5
    Views:
    5,627
  3. =?Utf-8?B?U2FtdWVs?=
    Replies:
    7
    Views:
    1,075
    Scott Allen
    Aug 10, 2005
  4. Mad Scientist Jr
    Replies:
    0
    Views:
    676
    Mad Scientist Jr
    Mar 22, 2006
  5. Replies:
    3
    Views:
    5,454
Loading...

Share This Page