<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: 	XDocument.SaveAs Method with Property IsSaveAs =</title><link>https://www.infopathdev.com:443/forums/thread/7512.aspx</link><pubDate>Mon, 22 Aug 2005 19:32:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7512</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7512</wfw:commentRss><description>Hi Paul,&lt;br /&gt;Thanks for posting your resolution!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: 	XDocument.SaveAs Method with Property IsSaveAs =</title><link>https://www.infopathdev.com:443/forums/thread/7511.aspx</link><pubDate>Mon, 22 Aug 2005 16:01:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7511</guid><dc:creator>maor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7511</wfw:commentRss><description>if somebody wants to know, here my solution.&lt;br /&gt;&lt;br /&gt;simply don't use the XDocument.SaveAs() and XDocument.Save methods but call the "normal" save routines from menu/file/.&lt;br /&gt;&lt;br /&gt;( &lt;br /&gt;		objCommandBars = Application.ActiveWindow.CommandBars&lt;br /&gt;		objSave = objCommandBars.FindControl(1,3)&lt;br /&gt;		objSave.Control.Execute()&lt;br /&gt;)</description></item><item><title>Re: 	XDocument.SaveAs Method with Property IsSaveAs =</title><link>https://www.infopathdev.com:443/forums/thread/7510.aspx</link><pubDate>Mon, 22 Aug 2005 04:19:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7510</guid><dc:creator>maor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7510</wfw:commentRss><description>sorry, I think I had to give you some more details.&lt;br /&gt;&lt;br /&gt;I don't call the SaveAs Method out of the PerformSaveOperation Method, I call it from a ButtonClick Event.&lt;br /&gt;&lt;br /&gt;Paul Degenkolbe</description></item><item><title>Re: 	XDocument.SaveAs Method with Property IsSaveAs =</title><link>https://www.infopathdev.com:443/forums/thread/7509.aspx</link><pubDate>Sun, 21 Aug 2005 23:00:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7509</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7509</wfw:commentRss><description>Hi Paul,&lt;br /&gt;You can't call the "SaveAs" method in the OnSaveRequest event handler, since that in turn calls the OnSaveRequest event handler causing an improper reentrancy. You should call "eventObj.PerformSaveOperation();" instead. Hope this helps.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>XDocument.SaveAs Method with Property IsSaveAs =</title><link>https://www.infopathdev.com:443/forums/thread/4864.aspx</link><pubDate>Sun, 21 Aug 2005 21:20:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4864</guid><dc:creator>maor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4864.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4864</wfw:commentRss><description>Hello.&lt;br /&gt;&lt;br /&gt;(this is a copy from my question in the microsoft community, but there I get no answer - but I need)&lt;br /&gt;&lt;br /&gt;I want so Save my form out of a js function.&lt;br /&gt;&lt;br /&gt;After initialize the OnSaveRequest via the "save as"-Menubutton, the&lt;br /&gt;eventObj.IsSaveAs Property (read only) is true but after initialize OnSaveRequest with&lt;br /&gt;XDocument.SaveAs("c:\test.xml") from code, the eventObj.IsSaveAs Property is&lt;br /&gt;false and the error "The form has no filename." appears.&lt;br /&gt;&lt;br /&gt;How can it be?&lt;br /&gt;&lt;br /&gt;(my form is fully trusted)&lt;br /&gt;(helpfiletext:"The IsSaveAs property returns true when the event was&lt;br /&gt;triggered by a call to the SaveAs method")&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Paul Degenkolbe</description></item></channel></rss>