XDocument.SaveAs Method with Property IsSaveAs = false

M

maor110

Hello again.

I want so Save my form.

After initialize the OnSaveRequest via the "save as"-Menubutton, the
eventObj.IsSaveAs Property is true but after initialize OnSaveRequest with
XDocument.SaveAs("c:\test.xml") from code, the eventObj.IsSaveAs Property is
false and the error " The form has no filename." appears.

How can it be?

(my form is fully trusted)
(helpfiletext:"The IsSaveAs property returns true when the event was
triggered by a call to the SaveAs method")

Thanks in advance,
Paul Degenkolbe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top