J
Jeffshex
I'm addressed this in a previous topic but still no avail.
On Submit On_Click I need to run a submit, then an If statement that says if
the node my:WeekTotal < 35 then print. If it's above 35 I don't need it to
do anything but close like normal. Here's what someone else recommeded to me
but it didn't work:
XDocument.Submit();
if((int)XDocument.DOM.selectSingleNode("//my:WeekTotal").text <= 35){
XDocument.PrintOut();
}
any help would be nice
PS:I'm still not 100% if this needs to be a Fully trusted form.
On Submit On_Click I need to run a submit, then an If statement that says if
the node my:WeekTotal < 35 then print. If it's above 35 I don't need it to
do anything but close like normal. Here's what someone else recommeded to me
but it didn't work:
XDocument.Submit();
if((int)XDocument.DOM.selectSingleNode("//my:WeekTotal").text <= 35){
XDocument.PrintOut();
}
any help would be nice
PS:I'm still not 100% if this needs to be a Fully trusted form.