| | |
Create .aspx page at runtime
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
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
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.
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?
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:
•
•
•
•
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...".
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:
lol it's cool buddy... I think that's the info I need. What I'm talking about thought is this:
does that clear it up for you?
ASP.NET Syntax (Toggle Plain Text)
ASP.NET Syntax (Toggle Plain Text)
<html> <hea><title>(user input goes here)</title> <Body> (User input goes here) </body> </html>
does that clear it up for you?
Formerly known as Slade.
Yeah that is what I had figured. Glad I could help. ASP.Net is something I am learning right now as well.
Happy coding!!!
Happy coding!!!
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.
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!
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.
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.
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.
As of right now I am off to bed.
![]() |
Similar Threads
- how to make the aspx page at runtime (ASP.NET)
- how to make the aspx page in button click at runtime (ASP.NET)
- how to make the aspx page in button click at runtime (ASP.NET)
- create aspx page in runtime (C#)
Other Threads in the ASP.NET Forum
- Previous Thread: How to send Multiple values for one formula field in crystal reports through vb.net?
- Next Thread: new webiste opening problem,help needed
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# c#gridviewcolumn cac checkbox class compatible confirmationcodegeneration content contenttype countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv forms gridview gudi homeedition iis javascript jquery list listbox menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice xml xsl





