Dynamic generating forms/controls

A

Andrej

Please, is there anybody who could tell me wheter it's even possible to
create whole form dynamicaly or controls from .NET?

thanks
 
S

S.Y.M. Wong-A-Ton

If you're referring to an InfoPath form (XML data) as opposed to an InfoPath
form template (the blueprint for a form), then yes. InfoPath forms are
nothing else but XML files and surely you can generate these using .NET code.
The only thing you would have to do is point each XML file to the right form
template to use and make sure you add the processing instruction to the XML
file so that it is recognized as an InfoPath form. Fields (=controls) on the
form just follow the schema defined for the form template.
 
S

S.Y.M. Wong-A-Ton

I've never tried it myself, but you could try extracting the form files,
study the structure, and try to recreate all the files that make up the XSN
package.
 

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