473,761 Members | 9,480 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 programmaticall y create an aspx page on the fly?

Thanks!
Oct 13 '06 #1
4 5467
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**********@s omewhere.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 programmaticall y 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**********@c om.msn_swap_msn _and_comwrote in message
news:%2******** ********@TK2MSF TNGP04.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**********@s omewhere.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 programmaticall y 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**********@c om.msn_swap_msn _and_comschreef in bericht
news:%2******** ********@TK2MSF TNGP04.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**********@s omewhere.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 programmaticall y create an aspx page on the fly?

Thanks!


Oct 16 '06 #4
take a look at System.Web.UI.C ontrol.LoadCont rol()
"Edwin Knoppert" <ne**@hellobasi c.comwrote in message
news:45******** **************@ text.nova.plane t.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**********@c om.msn_swap_msn _and_comschreef in bericht
news:%2******** ********@TK2MSF TNGP04.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**********@s omewhere.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 programmaticall y 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
3778
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 ). Now, i want to show an advertisement on top of each of this html page. the ad banner has to be dynamically updated depending on date (period) the advertiser has planned to advertise for. So I thought of creating ASPx pages instead. Is it a good...
3
2035
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. Some of them send email and others store information entered by the user in the MS Access DB. The database is small at this time and is growing slowly. The forms are .aspx pages coded using VB.NET. These .aspx pages work fine. Although the...
1
1263
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 still use asp pages and use NTFS security:( what is the best way to explain the difference and the advantages fo using .Net/aspx pages over normal asp pages? cos i don't think asp pages can integeate directly with active Directory?
2
2177
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
3679
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 id="Form1" method="post" runat="server"> <%
0
1055
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 .htm pages just fine. My aspx pages however are generated from master pages where the title tag is set dynamically at run-time. So, it seens like index server is just indexing my raw .aspx and .cs.aspx pages instead of actually running the page...
3
2946
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 say “www.Test1.com” and “www.Test2.com” pointing to a single website. Website content is located onto UNCPath i.e. remote location. Domain 1: www.Test1.com points to \\servername\websitefolder\homedirectory
7
1775
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 your help, Ugo
3
1977
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, how can I create partial classes to handle this situation OR if I create new class files in App_Code folder to handle major code of ASPX code behind page then how can I get the access to the various Web Control which I have created on the ASPX...
0
9345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9775
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.