Maintaining ViewState

Discussion in 'ASP .Net Datagrid Control' started by SA, Nov 7, 2003.

  1. SA

    SA Guest

    hi
    I have a datagrid bound to a datasource. I am generating the columns
    in the datagrid dynamically. I override the loadviewstate method and
    recreate the datagrid columns once again. In this way my viewstate is
    maintained. now some of the rows in my datagrid have a different style
    (they are bold). This information is not maintained in the viewstate.
    I am exporting the information available in the viewstate to Excel and
    i get only the data without the formatting information. any
    suggestions???.

    thanks
    SA
     
    SA, Nov 7, 2003
    #1
    1. Advertisements

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. Dinesh Upare
    Replies:
    0
    Views:
    536
    Dinesh Upare
    Jul 16, 2003
  2. sklett
    Replies:
    4
    Views:
    10,103
    sklett
    Apr 8, 2004
  3. Charlie@CBFC
    Replies:
    0
    Views:
    544
    Charlie@CBFC
    Apr 2, 2005
  4. Steve Murphy
    Replies:
    2
    Views:
    829
    =?Utf-8?B?Sm9l?=
    Jan 15, 2006
  5. Udit
    Replies:
    3
    Views:
    195
  6. Carlos A. Manzanares

    DropDownList not maintaining viewstate

    Carlos A. Manzanares, Nov 10, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    215
    Carlos A. Manzanares
    Nov 10, 2003
  7. Patrick Wilby via .NET 247

    Maintaining viewstate in Collections

    Patrick Wilby via .NET 247, Apr 23, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    225
    Patrick Wilby via .NET 247
    Apr 23, 2004
  8. Patrick Wilby via .NET 247

    Maintaining viewstate in custom control collection

    Patrick Wilby via .NET 247, Apr 23, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    627
    Teemu Keiski
    Apr 23, 2004
Loading...