G
G. Tarazi
The compiler is giving me an error in this code:
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section1", EventType=InfoPathEventType.OnAfterChange)]
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section2", EventType=InfoPathEventType.OnAfterChange)]
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section3", EventType=InfoPathEventType.OnAfterChange)]
public void TermSheetSection_OnAfterChange(DataDOMEvent e)
{
if (e.IsUndoRedo)
{
return;
}
if (e.Parent.selectSingleNode("NS:IxIsChanged").text == "false")
{
e.Parent.selectSingleNode("NS:IxIsChanged").text == "true";
}
}
Is there any workaround?
Thank you
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section1", EventType=InfoPathEventType.OnAfterChange)]
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section2", EventType=InfoPathEventType.OnAfterChange)]
[InfoPathEventHandler(MatchPath="/NSxIPForm/NS:IPForm/NS:section3", EventType=InfoPathEventType.OnAfterChange)]
public void TermSheetSection_OnAfterChange(DataDOMEvent e)
{
if (e.IsUndoRedo)
{
return;
}
if (e.Parent.selectSingleNode("NS:IxIsChanged").text == "false")
{
e.Parent.selectSingleNode("NS:IxIsChanged").text == "true";
}
}
Is there any workaround?
Thank you