<?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: Access data from button click event</title><link>https://www.infopathdev.com:443/forums/thread/85219.aspx</link><pubDate>Tue, 11 Dec 2012 08:59:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85219</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85219</wfw:commentRss><description>&lt;p&gt;If e.Site is positioned at Summary, then you should be able to access the next sibling of the corresponding Device with:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;e.Site.SelectSingleNode(&amp;quot;../../following-sibling::my:Device&amp;quot;, NamespaceManager)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Or access all of the following siblings with:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;e.Site.Select(&amp;quot;../../following-sibling::my:Device&amp;quot;, NamespaceManager)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;For preceding siblings, you would use preceding-sibling instead of following-sibling.&lt;/p&gt;</description></item><item><title>Access data from button click event</title><link>https://www.infopathdev.com:443/forums/thread/85085.aspx</link><pubDate>Wed, 05 Dec 2012 16:16:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85085</guid><dc:creator>PaulRAnderson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85085</wfw:commentRss><description>&lt;font size="2"&gt;&lt;p&gt;I have a button in a repeating section.  When the code executes, I&amp;#39;d like to reference siblings of a parent node, but in the ClickedEventArgs of &amp;quot;e&amp;quot; there is only data from the current node.&lt;br /&gt;
&lt;br /&gt;
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Devices&lt;br /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device[1] (repeating group)&lt;br /&gt;
        &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summaries&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary (repeating group)&lt;br /&gt;
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary fields...&lt;br /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device[2]&lt;br /&gt;
        &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summaries&lt;br /&gt;
          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary&lt;br /&gt;
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary fields...&lt;br /&gt;
&lt;br /&gt;
The button is in a repeating section bound to the repeating group Summary.  If the button is pressed in the Summary section of Device[1], I need to access data in Device[2].  Can I do this?&lt;br /&gt;
&lt;br /&gt;
Paul&lt;br /&gt;
           &lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>