Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

michalush85

@michalush85
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Serialize WPF and telerik controls [modified]
    M michalush85

    Hi, I have hashtable that contain wpf and telerik controls, and I need to serialize it to xml file. I found this code for wpf controls:

    string savedButton = XamlWriter.Save(origianlButton);
    File.WriteAllText(@"C:\test.xml", savedButton);

    but it doesn't work for telerik controls, it stuck and I get this error:

    An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll

    Is there any other way to do that? Thanks in advance.

    modified on Tuesday, August 24, 2010 2:56 AM

    WPF help csharp wpf xml question

  • How to cache data at WPF after the application closed?
    M michalush85

    I have sql query and I want to save every running the row that selected from each table. I found solution for that :D. I mark the dmbl as serializable with

    <Database... Serialization="Unidirectional">

    and than use NetDataContractSerializer object to serialize\deserialize. Now, I have another problem, I want to save also the search criterions, every search I save the controls with the search criterions in hashtable, and I want to save it also at xml but the controls are not serializable(I use wpf and telerik controls). Is thare any way to do it? Thanks again.

    WPF csharp wpf tutorial question

  • How to cache data at WPF after the application closed?
    M michalush85

    Thanks, I have linq to sql objects and I found that I can serialize the sql by putting this: < Database ... Serialization="Unidirectional > on the dbml file. How can I serialize Hashtable that contain objects like that? Thanks a lot.

    modified on Monday, August 23, 2010 2:43 AM

    WPF csharp wpf tutorial question

  • How to cache data at WPF after the application closed?
    M michalush85

    Hi, Thanks again. 1)Can I serialize only the Hashtable? Or I need to serialize every object one by one? 2)I have one Hashtable that its objects don't serializable, Is there any way to cache it? Thanks a lot.

    WPF csharp wpf tutorial question

  • How to cache data at WPF after the application closed?
    M michalush85

    Hi, Thanks for fast reply :) . I have an Hashtable that contains objects. And I want to save it not matter what. I will glad if you can explain to me what is the better way to do it(XML or file)? Thanks again.

    WPF csharp wpf tutorial question

  • How to cache data at WPF after the application closed?
    M michalush85

    Hi, I have WPF app and I need to save the data(Hashtable) into the Cache for one day,also if the app was closed. I try to use ObjectCache but it cleaned in every running. May anyone have a solution, Thanks a lot.

    WPF csharp wpf tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups