<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [SOLVED] LoadState not working</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [SOLVED] LoadState not working]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 12:32:57 +0000</pubDate>
  <lastBuildDate>Fri, 04 Nov 2011 07:59:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=19143</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[SOLVED] LoadState not working :  I submitted this to customer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19143&amp;PID=66731&amp;title=solved-loadstate-not-working#66731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7138">HarleyHammond</a><br /><strong>Subject:</strong> 19143<br /><strong>Posted:</strong> 04 November 2011 at 7:59am<br /><br />I submitted this to customer support 2 days ago and have not gotten a response, so I guess I will ask here:<div><br></div><div>Has anyone seen an issue with&nbsp;<span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; ">LoadState and LoadStateFromString not working?</span></div><div><span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; "><br></span></div><div><span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; ">Both types of SaveState seem to work fine, I see the registry change or get an xml string. The LoadState works perfectly from the codejock supplied&nbsp;<u>example</u> application, but when I call LoadState from my app, it just does nothing. No change, no exception, nothing.</span></div><div><span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; "><br></span></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;">I am certain the registry location is the same, I copy/pasted the lines. I have tried dragging a bunch of stuff from my app into the demo, but could not break it.</span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;"><br></span></font></div><div><span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; ">This is on VS2010, C#, on a WinForm.</span></div><div><span ="apple-style-span"="" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; "><br></span></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;">Any ideas? Has anyone else seen this and found a solution?</span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;"><br></span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;">Without that feature, the Docking Pane is sort of useless.</span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;"><br></span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;">Thank you!</span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;"><br></span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;">------------------------------------------------------------------------------------------------------------------------</span></font></div><div><font ="apple-style-span"="" face="arial, sans-serif" size="2"><span ="apple-style-span"="" style="line-height: normal;"><br></span></font></div><div><font ="Apple-style-span" face="arial, sans-serif" size="2"><span ="Apple-style-span" style="line-height: normal;">SOLUTION: When you call DockingPanel.CreatePane, the first parameter is a user-designated unique ID for that pane. If you use an ID of "0", the LoadState will never work. Start with 1.</span></font></div><div><font ="Apple-style-span" face="arial, sans-serif" size="2"><span ="Apple-style-span" style="line-height: normal;">It took me over 6 hours to find that one.&nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></span></font></div><div><font ="Apple-style-span" face="arial, sans-serif" size="2"><span ="Apple-style-span" style="line-height: normal;"><br></span></font></div>]]>
   </description>
   <pubDate>Fri, 04 Nov 2011 07:59:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19143&amp;PID=66731&amp;title=solved-loadstate-not-working#66731</guid>
  </item> 
 </channel>
</rss>