Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create new aspx file

Status
Not open for further replies.

Sammy145

Programmer
Joined
Oct 4, 2002
Messages
173
Location
GB
Hi im trying to build a Content management system and wanted to ask if anyone had ideas about this
i have a tree which populates a a directory structure what i want to do either right click create new file or have a create new aspx page button

But how do i create a new page programmatically and create a textbox in this new form

im using asp.net version 2
 
Why do you need to create a new page at runtime?! If you do this, the page wouldn't be capable of doing anything unless you added code to it and compiled it. And that's not a good idea...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
how do i go about creating a new page then?
 
What are you actually trying to do on this new page?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
So whay can't you add the page at design time and load it when needed?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
how do you mean imagine this tree structure

MainWEBSITE
--Index.aspx
--Products.aspx
--AboutUS.aspx


button Create new file

so are you saying have set of default pages and hide and show them. based on create or delete
 
I mean create the relevant pages that you need and allow the user to modify the content. Surely you aren't expecting your users to be able to create a completely new page, write the relevant HTML and ASP.NET code to perform it's function, and then compile their code, are you?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top