473,498 Members | 523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating aspx pages on the fly

My client wants to be able to have unlimited pages in his website and I'm
making an "admin interface" for him to add and remove pages. (He will use
Macromedia Contribute to modify the content of these new pages.) I would
use straight HTML pages, but I need to use the "Master Page" for the
aesthetics of the pages. I need the webapp to "recognize" these new aspx
pages (or that an aspx page has been deleted.)

Is it possible to programmatically create an aspx page on the fly?

Thanks!
Oct 13 '06 #1
4 5451
don't create an aspx file on the fly, but create a page with placeholders
that will be filled at run time by other content (a file on the HD, content
in the db, etc...).
However, I don't know what contribute outputs. Maybe the tools is more
expensive to use that a simple form to input content, and some master pages
to create templates.

Steve

"VB Programmer" <do**********@somewhere.coma écrit dans le message de
news: OZ**************@TK2MSFTNGP04.phx.gbl...
My client wants to be able to have unlimited pages in his website and I'm
making an "admin interface" for him to add and remove pages. (He will use
Macromedia Contribute to modify the content of these new pages.) I would
use straight HTML pages, but I need to use the "Master Page" for the
aesthetics of the pages. I need the webapp to "recognize" these new aspx
pages (or that an aspx page has been deleted.)

Is it possible to programmatically create an aspx page on the fly?

Thanks!

Oct 13 '06 #2
Thanks. Contribute is basically an html editor. You can goto a website
(after you setup permissions) and click "edit website", edit it with a nice
WYSIWYG editor, then update the page easily. It's a great tool actually.

Your placeholder idea is interesting. Let me know if you have any more
ideas...

Thanks.

"Steve B." <st**********@com.msn_swap_msn_and_comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
don't create an aspx file on the fly, but create a page with placeholders
that will be filled at run time by other content (a file on the HD,
content in the db, etc...).
However, I don't know what contribute outputs. Maybe the tools is more
expensive to use that a simple form to input content, and some master
pages to create templates.

Steve

"VB Programmer" <do**********@somewhere.coma écrit dans le message de
news: OZ**************@TK2MSFTNGP04.phx.gbl...
>My client wants to be able to have unlimited pages in his website and I'm
making an "admin interface" for him to add and remove pages. (He will
use Macromedia Contribute to modify the content of these new pages.) I
would use straight HTML pages, but I need to use the "Master Page" for
the aesthetics of the pages. I need the webapp to "recognize" these new
aspx pages (or that an aspx page has been deleted.)

Is it possible to programmatically create an aspx page on the fly?

Thanks!


Oct 13 '06 #3
Is it possible to read asp.net controls from hd into such a placeholder.
Reason is that i want to prepare a home-brewed cms system and currently ses
html files.
I wonder if it's possible to stream in aspx files instead.

Personally i don't think it can work, asp.net requires prerenderingand
rendering and merging on the fly.. don't think so.
For the html par i obtain the html contents and thus remove the body and
html tags and such.
Simple.
"Steve B." <st**********@com.msn_swap_msn_and_comschreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
don't create an aspx file on the fly, but create a page with placeholders
that will be filled at run time by other content (a file on the HD,
content in the db, etc...).
However, I don't know what contribute outputs. Maybe the tools is more
expensive to use that a simple form to input content, and some master
pages to create templates.

Steve

"VB Programmer" <do**********@somewhere.coma écrit dans le message de
news: OZ**************@TK2MSFTNGP04.phx.gbl...
>My client wants to be able to have unlimited pages in his website and I'm
making an "admin interface" for him to add and remove pages. (He will
use Macromedia Contribute to modify the content of these new pages.) I
would use straight HTML pages, but I need to use the "Master Page" for
the aesthetics of the pages. I need the webapp to "recognize" these new
aspx pages (or that an aspx page has been deleted.)

Is it possible to programmatically create an aspx page on the fly?

Thanks!


Oct 16 '06 #4
take a look at System.Web.UI.Control.LoadControl()
"Edwin Knoppert" <ne**@hellobasic.comwrote in message
news:45**********************@text.nova.planet.nl. ..
Is it possible to read asp.net controls from hd into such a placeholder.
Reason is that i want to prepare a home-brewed cms system and currently
ses
html files.
I wonder if it's possible to stream in aspx files instead.

Personally i don't think it can work, asp.net requires prerenderingand
rendering and merging on the fly.. don't think so.
For the html par i obtain the html contents and thus remove the body and
html tags and such.
Simple.
"Steve B." <st**********@com.msn_swap_msn_and_comschreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
don't create an aspx file on the fly, but create a page with
placeholders
that will be filled at run time by other content (a file on the HD,
content in the db, etc...).
However, I don't know what contribute outputs. Maybe the tools is more
expensive to use that a simple form to input content, and some master
pages to create templates.

Steve

"VB Programmer" <do**********@somewhere.coma écrit dans le message de
news: OZ**************@TK2MSFTNGP04.phx.gbl...
My client wants to be able to have unlimited pages in his website and
I'm
making an "admin interface" for him to add and remove pages. (He will
use Macromedia Contribute to modify the content of these new pages.) I
would use straight HTML pages, but I need to use the "Master Page" for
the aesthetics of the pages. I need the webapp to "recognize" these
new
aspx pages (or that an aspx page has been deleted.)

Is it possible to programmatically create an aspx page on the fly?

Thanks!


Oct 16 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3765
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html )....
3
2018
by: Joe | last post by:
Hi, I am new to creating .asp web sites and have a basic question. I have a website with .html pages running on an IIS server with .Net installed. I also have a couple of forms on the website....
1
1251
by: Patrick Olurotimi Ige | last post by:
Can asp pages have the same security integration like aspx pages? For example integrating ASPX pages with Active directory etc...forms auth and windows auth? We have a scenario some developers...
2
2159
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
29
3641
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
0
1043
by: Mike Dee | last post by:
I'm new to index server and can't get any DocTitle value back from index server (it is returned as null) for all my aspx pages. It do get the values from inside the <title> tags from my static...
3
2930
by: Purti Malhotra | last post by:
Hi All, In our Web hosting environment we are using Virtual hosting i.e. multiple websites are on one server and multiple domains are pointing to a single website. Issue: We have two domains...
7
1762
by: Ugo Van Noorbeeck | last post by:
Hi all, I try to reference several pages from a class (ideally located in a class library). But no namespace is available to do this. Does anybody have an idea how to do this? Thanks for...
3
1963
by: Aryan | last post by:
Hi, I have problem in creating Partial Class for ASPX pages. As my Codebase file for ASPX page is having more then 2500 lines of code. So its very hard to maintain the code. So I wanted to know,...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.