Dynamic web form creation

  • Thread starter Thread starter vatech1993
  • Start date Start date
V

vatech1993

Does anyone know how to dynamically create webforms? I'm looking at a
solution where multiple .aspx pages all point to the same code behind
page and these pages can be created on the fly based upon some criteria
determined by the end user. I tried reading and writing out contents
from a template file using a StreamReader and StreamWriter object, but
I get permission issues that the asp account doesn't have rights to
write content to the web directory. I'd rather not have to change the
rights so I'm looking to see if there is anything built into .NET that
will allow a webform object to be created and then written out all
under the default security model.

Thanks
 
There's nothing inherent in the framework for this, no.

What you're probably going to want to do is create some sort fo control that
dynamically generates the form elements at runtime instead of dealing with a
file stream.
 

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

Back
Top