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.
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:
if (eventObj.Source.nodeName != "IsChanged")
{ // SetIsChange() }.
But eventObj.Source.nodeName returns "#text" string and I can't use that.
I think there is must be a simple way for such kind of task.