Generating HTML at Runtime

Response.Write(yourHTMLString)

Or maybe use a label then change the text property programmatically.

Anyway, where are you going with this?
 
Last edited by a moderator:
Im doing a website that has a master page and the main content is updateable through a administrator interface and instead of just posting content I would like it to be more dynamic and be able to be edited with HTML.

Response.Write dosnt specify where the code will appear?
 
In one of the projects that some of the chaps that I work with produced, a JavaScript editor was used under a GNU public licence. Unfortunately, I dont know the name of the editor. Have a dig around on Google, though.

The package was a complete editor allowing the editing of the HTML source, as well as providing the standard Wordesque interface.

Im sorry I cant be more help than that.


Paul.
 
kenttheprogger , if you use a label and you change its .Text property, thats exactly where the html code will go :) (where the label is positioned)
 
PROKA said:
kenttheprogger , if you use a label and you change its .Text property, thats exactly where the html code will go :) (where the label is positioned)

LOL! You bad! :p

Sorry, Proka - no offense is meant; I was comparing this thread with mine, that you posted in yesterday.

If its simply a case of displaying the code on the webpage, I would use a panel. That way the HTML will appear in a DIV as opposed to the labels SPAN. You can then have your own CSS entry relating to that particular DIV name etc. etc...


Paul.
 
Back
Top