<?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: Using OnAfterChange of a parent node</title><link>https://www.infopathdev.com:443/forums/thread/9712.aspx</link><pubDate>Mon, 08 May 2006 23:23:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9712</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9712</wfw:commentRss><description>You might need to be checking eventObj.Site instead of .Source.&lt;br /&gt;&lt;br /&gt;When you get the #text, you can do a selectSingleNode("..") to get to the actual node.</description></item><item><title>Using OnAfterChange of a parent node</title><link>https://www.infopathdev.com:443/forums/thread/5584.aspx</link><pubDate>Sat, 06 May 2006 09:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5584</guid><dc:creator>Sash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5584.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5584</wfw:commentRss><description>I have a parent node which has multiple child items. One of child items is used as "IsChanged" indicator. So, when any child is changed, "IsChanged" field would be changed to true. One can solve this task by specifying the same function in "OnAfterChange" handler of every child items besides "IsChanged" field. &lt;br /&gt;But I want to use "OnAfterChange" handler of the parent node. So I need to check child node's name to prevent loop handler call. I suppose it must be something like this: &lt;br /&gt;if (eventObj.Source.nodeName != "IsChanged") &lt;br /&gt;{ // SetIsChange() }.&lt;br /&gt;But eventObj.Source.nodeName returns "#text" string and I can't use that. &lt;br /&gt;I think there is must be a simple way for such kind of task.</description></item></channel></rss>