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. 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. Dinesh Upare
    Replies:
    0
    Views:
    388
    Dinesh Upare
    Jul 16, 2003
  2. sklett
    Replies:
    4
    Views:
    9,871
    sklett
    Apr 8, 2004
  3. Charlie@CBFC
    Replies:
    0
    Views:
    461
    Charlie@CBFC
    Apr 2, 2005
  4. Steve Murphy
    Replies:
    2
    Views:
    749
    =?Utf-8?B?Sm9l?=
    Jan 15, 2006
  5. Udit
    Replies:
    3
    Views:
    122
Loading...

Share This Page