By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,984 Members | 2,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,984 IT Pros & Developers. It's quick & easy.

Dynamic web form creation

P: n/a
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

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.


"vatech1993" <va********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.