Custom serialization in object

Discussion in 'ASP .Net' started by Maury, Oct 20, 2006.

  1. Maury

    Maury Guest

    Hello,
    I Know that if I add a [Serializable] attribute to a class of mine
    I can save this class to the viewstate...

    I would like to "change" the default serialization process
    and save (or restore) custom data (instead of the whole class or
    some attributes), but I would like
    to manage all of this only inside my object, without
    changing web pages (in these pages I have to use
    ViewState["key"] = CustomObject and
    CustomObject = ViewState["key"]

    some ideas?
    Thanks!!!!
    ..::M::.
     
    Maury, Oct 20, 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. Replies:
    8
    Views:
    2,258
    deadsea
    Jan 2, 2005
  2. Replies:
    3
    Views:
    1,040
  3. Dimitri Ognibene
    Replies:
    4
    Views:
    786
    Dimitri Ognibene
    Sep 2, 2006
  4. Ramunas Urbonas
    Replies:
    1
    Views:
    406
    Dino Chiesa [Microsoft]
    Jul 27, 2004
  5. Serialization of a custom object

    , Jan 24, 2005, in forum: ASP .Net Web Services
    Replies:
    4
    Views:
    142
    Anirudh
    Jan 27, 2005
Loading...

Share This Page