Create .aspx page at runtime

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Create .aspx page at runtime

 
0
  #1
May 4th, 2004
Howdy guys! I need help with something (yes, again). What my plan is, is to have two user inputs on a website, one of these inputs will be the header for the html e.g. "DaniWeb TechTalk computer support", the other for the page content, e.g. "Hi, my name is zorba...". This data needs to be saved to an aspx file, and once that has been done, another aspx page has to display the header or title of the page e.g. "Daniweb TechTalk computer support" with a link to the aspx. Now I have thought about this a little and the input from the users can be saved into label controls in the text property. Another thing is I could have an aspx page template so that the page only needs to be copied from that and the labels inserted in the right spot. Now what I don't know is how to do this heh I really hope you guys can help me with this one because I'm not sure I will be able to figure it out by myself. I have faith in you guys.

Thanks heaps for your time,

Slade

Note: I am using VB .NET for the code behind
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Create .aspx page at runtime

 
0
  #2
May 8th, 2004
Maybe I am just tried, but what I have read of your question has left me confused? What are you saying with regards to header and inputs are confusing?

ne of these inputs will be the header for the html e.g. "DaniWeb TechTalk computer support", the other for the page content, e.g. "Hi, my name is zorba...".
You are talking here about Display Controls, but refer to them as inputs? Is the user to supply the information to create these "inputs" or "controls"?

Why not have the user supply the information, store that information in a cookie, and then redirect to the next aspx page and use the cookie information to generate the "inputs" you need?

Not sure this helps, but your question is a little vague and confusing.....but then again I am tired! :rolleyes:
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: Create .aspx page at runtime

 
0
  #3
May 9th, 2004
lol it's cool buddy... I think that's the info I need. What I'm talking about thought is this:

  1. <html>
  2. <hea><title>(user input goes here)</title>
  3. <Body>
  4. (User input goes here)
  5. </body>
  6. </html>

does that clear it up for you?
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Create .aspx page at runtime

 
0
  #4
May 9th, 2004
Yeah that is what I had figured. Glad I could help. ASP.Net is something I am learning right now as well.

Happy coding!!!
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: Create .aspx page at runtime

 
0
  #5
May 12th, 2004
There is still more problems... how do I save this page on the server (after user inputs have been made) and how do I make the link to the page automatically appear on the home page? (has the same name as the page title). SO we have figured out how to pass the values onto another page, but how do we save that page once the "submit page" button has been pressed?
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: Create .aspx page at runtime

 
0
  #6
May 12th, 2004
is it possible for vs .net just to copy an allready existing page and edit that? Like a template?
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Create .aspx page at runtime

 
0
  #7
May 14th, 2004
You mean modify it on the fly? Hmm, not that I am aware of, but .NET is pretty powerful, I wouldn't doubt there is a way!
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: Create .aspx page at runtime

 
0
  #8
May 14th, 2004
can you think of any other ways I can do this? Just so that a user can put inputs for the title of the html page and also the body. PLEASE! if you can think of a way to do this than I would give you a special thanks on the actual site, paladine, tekmaven, you allready get one.


Slade

p.s. you too dani, and a link to this site because it is the best lot of forums I have come across.
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Create .aspx page at runtime

 
0
  #9
May 14th, 2004
It is 1:30 am right now, and my mind is mush! But I will see what I can come up with by the end of the weekend dude! But I am sure I have some source code somewhere in my IT Library Drive that may help....no promises. :-)

As of right now I am off to bed.
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: Create .aspx page at runtime

 
0
  #10
May 14th, 2004
THanks dude, you truly are a good help.
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC