Submitting form using XmlFormView

T

Todd Kitta

I am hosting an XmlFormView control in my ASP.NET page (SharePoint site page)
and I want to submit the form programmatically when the user clicks an
ASP.NET button. So, I wrote some code like this:

// make sure the XmlForm property is not null by calling this
xmlFormView.DataBind();

// submit the form
xmlFormView.XmlForm.Submit();

This code actually runs without any exceptions being thrown, but my form's
submit method is never called! Not sure if it matters or not, but my form is
submitting with custom code ("Perform custom action using code" in the
"Submit Options" dialog).

Any ideas?
 
T

Todd Kitta

This is just a pointer to the documentation for the method I am using that is
not work. This does not help me.
 

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