<?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: Buttons</title><link>https://www.infopathdev.com:443/forums/thread/9091.aspx</link><pubDate>Thu, 16 Feb 2006 16:31:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9091</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9091</wfw:commentRss><description>If you are not actually using "DocActionEvent e" of the button then you can call the btnEvent_OnClick(null).&lt;br /&gt;&lt;br /&gt;But yes if there are any rules on the second button they do not get executed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;INFOPATHdev India</description></item><item><title>Re: Buttons</title><link>https://www.infopathdev.com:443/forums/thread/9090.aspx</link><pubDate>Thu, 16 Feb 2006 13:18:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9090</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9090.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9090</wfw:commentRss><description>Just move the code in the second button into a common method.  Then put that method into both OnSubmitRequest and OnClick.</description></item><item><title>Buttons</title><link>https://www.infopathdev.com:443/forums/thread/5364.aspx</link><pubDate>Thu, 16 Feb 2006 10:38:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5364</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5364</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I have two buttons, one is a Submit button (OnSubmitRequest/custom coe) the other one is a button just using custom code (OnClick). I have no data connections. I would like to know if it is somehow possible to automatically press the second button when the first will be pressed.&lt;br /&gt;&lt;br /&gt;Thx&lt;br /&gt;&lt;br /&gt;Listen to Motörhead cos they play Rock'n Roll :)</description></item></channel></rss>