<?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 : DesignerControls empty after SaveStateToXMLString</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : DesignerControls empty after SaveStateToXMLString]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:42:50 +0000</pubDate>
  <lastBuildDate>Thu, 13 Mar 2008 13:25:42 +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=9873</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[DesignerControls empty after SaveStateToXMLString : Hello Oleg.  It does save the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32226&amp;title=designercontrols-empty-after-savestatetoxmlstring#32226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=237">markh</a><br /><strong>Subject:</strong> 9873<br /><strong>Posted:</strong> 13 March 2008 at 1:25pm<br /><br />Hello Oleg.<DIV>&nbsp;</DIV><DIV>It does save the DesignerControls on the first call to SaveStateToXMLString. However, it then deletes the list so that any subsequent files saved do not contain the DesignerControls.</DIV><DIV>&nbsp;</DIV><DIV>This can be seen by loading the resulting files into the Designer Studio. The first file saved, displays all of the controls in the Controls Pane. However, any later saved files have an empty Controls Pane.</DIV><DIV>&nbsp;</DIV><DIV>This seems rather inconsistent behaviour and makes it rather difficult to use the XML format for saving/loading user toolbar customizations.</DIV><DIV>&nbsp;</DIV><DIV>I'll try DoPropExchange and let you know the results.</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Thu, 13 Mar 2008 13:25:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32226&amp;title=designercontrols-empty-after-savestatetoxmlstring#32226</guid>
  </item> 
  <item>
   <title><![CDATA[DesignerControls empty after SaveStateToXMLString : Hi, yes, think its true. it doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32221&amp;title=designercontrols-empty-after-savestatetoxmlstring#32221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9873<br /><strong>Posted:</strong> 13 March 2008 at 10:51am<br /><br />Hi,<DIV>yes, think its true. it doesn't save DeignerControls by default. Use DoPropExchange method instead.</DIV>]]>
   </description>
   <pubDate>Thu, 13 Mar 2008 10:51:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32221&amp;title=designercontrols-empty-after-savestatetoxmlstring#32221</guid>
  </item> 
  <item>
   <title><![CDATA[DesignerControls empty after SaveStateToXMLString : Hello  I am having an issue...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32199&amp;title=designercontrols-empty-after-savestatetoxmlstring#32199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=237">markh</a><br /><strong>Subject:</strong> 9873<br /><strong>Posted:</strong> 12 March 2008 at 5:41pm<br /><br />Hello<DIV>&nbsp;</DIV><DIV>I am having an issue with <FONT size=2>SaveStateToXMLString. After I call this method, the DesignerControls list seems to get emptied. If I look at DesignerControls-&gt;Count before and after the call I can see it change from the correct number of elements to zero.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have the&nbsp;<FONT size=2>SerializeDesignerControls option of StateOptions set to TRUE. This means that the first time I call SaveStateToXMLString the DesignerControls are saved correctly to the XML string. However, on the second call, the DesignerControls aren't saved, since the list has been deleted. This has the effect of&nbsp;giving me&nbsp;two different files on two subsequent calls to SaveStateToXMLString,&nbsp;the first with the DesignerControls and the second without,&nbsp;which is very odd. It also means that if I reload any file saved after the first call, the DesignerControls are not present in the file to be reloaded.</FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Any ideas?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks</FONT></DIV><DIV><FONT size=2>Mark</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 12 Mar 2008 17:41:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9873&amp;PID=32199&amp;title=designercontrols-empty-after-savestatetoxmlstring#32199</guid>
  </item> 
 </channel>
</rss>