Divelements Community
Customer discussion of all Divelements products

Wizard pages are not marked as serializable.

Latest post 05-03-2006 21:00 by Ken A. 4 replies.
  • 04-28-2006 16:36

    • Ken A
    • Top 500 Contributor
    • Joined on 04-22-2006
    • Posts 6

    Wizard pages are not marked as serializable.

    Anyway around this?
  • 05-03-2006 9:33 In reply to

    Re: Wizard pages are not marked as serializable.

        What are you trying to do ken? in broad terms not just serialize
  • 05-03-2006 15:08 In reply to

    • Ken A
    • Top 500 Contributor
    • Joined on 04-22-2006
    • Posts 6

    Re: Wizard pages are not marked as serializable.

    Wilbur,

    I'm making a Wizard and would like to be able to save the state the wizard is in at any given point. I created a class and passed in the current wizard page to one of its properties then I was going to serialize the class. This is part of the same situation as my last post.  I have been struggling with the topic of passing the page name.  It seems very strange that one can not access a collection of pages some how.  I since have come up with a simple solution, and that is to use a hashtable to pass the name property as a string then the page as an object and it seems to work just fine.  For what seemed at the time to be a simple thing turned into a not so simple thing.

    Thanks,

    Ken

     

  • 05-03-2006 15:31 In reply to

    Re: Wizard pages are not marked as serializable.

    Sounds like you have a grip on it Ken,

    I would approach it in much the same way.. though you may want to create a collection object, derived from collectionsbase and add your page objects to it instead of a hashtable. I only say this as sometimes, hashtables can cause you nightmares if you ever need to use it in remoting or you wish to use your object collections in a public interface.

    I guess it's like they say, general users will never see the elegence of what you have created if in what you have created simplifies their journey. It will all be worth it in the end.
  • 05-03-2006 21:00 In reply to

    • Ken A
    • Top 500 Contributor
    • Joined on 04-22-2006
    • Posts 6

    Re: Wizard pages are not marked as serializable.

    Wilbur,

    Thanks again for your input.

    Ken

Page 1 of 1 (5 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems