View State Help !!!

Discussion in 'ASP .Net Datagrid Control' started by SA, Nov 10, 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. I have a Export to Excel option which exports the data in
    the grid as it is to Excel. I make use to the viewState to get this
    data into Excel.
    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 by
    changing the response contenttype and i get only the data without the
    formatting information. any
    suggestions???.

    thanks
    SA
    SA, Nov 10, 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. Tu-Thach

    View state help

    Tu-Thach, Jul 30, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    382
    manan
    Jul 31, 2003
  2. Jim Cheshire [MSFT]

    RE: View state help

    Jim Cheshire [MSFT], Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    353
    Jim Cheshire [MSFT]
    Jul 31, 2003
  3. Joey
    Replies:
    2
    Views:
    521
    spalding
    Aug 5, 2004
  4. Chad
    Replies:
    2
    Views:
    1,889
    Karl Seguin
    Jan 29, 2005
  5. Parthiv Joshi
    Replies:
    1
    Views:
    632
    Samuel L Matzen
    Jul 6, 2004
Loading...

Share This Page