<?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: Question about save form</title><link>https://www.infopathdev.com:443/forums/thread/10002.aspx</link><pubDate>Wed, 26 Jul 2006 07:36:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10002</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10002</wfw:commentRss><description>Hello, &lt;br /&gt;This is from the Infopath SDK&lt;br /&gt;Save Method: Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.&lt;br /&gt;&lt;br /&gt;expression.Save()&lt;br /&gt;expression    Required. An expression that returns a reference to an XDocument object.&lt;br /&gt;&lt;br /&gt;Security Level: Can be accessed only by fully trusted forms.&lt;br /&gt;&lt;br /&gt;Remarks: The Save method will return an error if called from a form that is not fully trusted.&lt;br /&gt;&lt;br /&gt;Example: In the following example, the Save method of the XDocument object is used to save a form:&lt;br /&gt;XDocument.Save();</description></item><item><title>Re: Question about save form</title><link>https://www.infopathdev.com:443/forums/thread/10001.aspx</link><pubDate>Wed, 26 Jul 2006 04:11:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10001</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10001</wfw:commentRss><description>any one???</description></item><item><title>Re: Question about save form</title><link>https://www.infopathdev.com:443/forums/thread/10000.aspx</link><pubDate>Tue, 27 Jun 2006 21:07:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10000</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10000</wfw:commentRss><description>SaveAs is for new form. What bout saving form that not new?</description></item><item><title>Re: Question about save form</title><link>https://www.infopathdev.com:443/forums/thread/9999.aspx</link><pubDate>Tue, 27 Jun 2006 19:27:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9999</guid><dc:creator>santosh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9999</wfw:commentRss><description>Yes you can save the form in the OnClick Event handler.&lt;br /&gt;&lt;br /&gt;You can use the thisXDocument.SaveAs(string locationToSave) method to save the file in the OnClick Event.&lt;br /&gt;&lt;br /&gt;Is it that what you are looking for?&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Question about save form</title><link>https://www.infopathdev.com:443/forums/thread/5688.aspx</link><pubDate>Mon, 26 Jun 2006 12:19:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5688</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5688</wfw:commentRss><description>I want to put in my form a button that click on it save the form. &lt;br /&gt;Can I do it (by write code for it in the OnClick event) or Should I use the OnSaveRequest(eventObj) event. &lt;br /&gt;&lt;br /&gt;I know that the line: &lt;br /&gt;eventObj.IsCancelled = eventObj.PerformSaveOperation&lt;br /&gt;&lt;br /&gt;save the form, But as it seems I can run it only from the OnSaveRequest event!</description></item></channel></rss>