save radhubtile to isolatedstoragefile

3 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    23 posts
    Member since:
    Feb 2013

    Posted 01 Mar 2013 Link to this post

    Hello,

    I'm trying to save a list<radhubtiles> to isolatedstoragefile however the rht.ImageSource is unserealizable and so saving to isolatedstorage fails.  Is there a method to save radhubtiles to isolatedstorage while keeping the images?

    thanks,

    jon
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 04 Mar 2013 Link to this post

    Hi Jonathan,

    Thanks for writing.
    I am afraid that RadHubTile and its derivatives are not made for serialization. I suggest reorganizing your app, so that the hub tiles use data binding to display information contained in view models. This way you have full control over the data and its serialization (the view models) and the hub tiles will be left as the visualization components that they are.

    Also, in order to save images to isolated storage you have to conver them to int[] arrays. You can do this with the help of writeable bitmap for example.

    Regards,
    Victor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Jonathan
    Jonathan avatar
    23 posts
    Member since:
    Feb 2013

    Posted 04 Mar 2013 Link to this post

    Good point thanks Victor.

    Also I didn't mean to post this  question 3 times, I think my browser was acting funny.

    thanks,

    Jon
Back to Top