modify HTML in code behind

  • Thread starter Thread starter philippe merrien
  • Start date Start date
P

philippe merrien

hello,

I would like to modify the content of my html page from the code behind.
But i've got a problem...I know how to get the html from a spécific control
(thanks to FindControl) but what can i do to get all the all HTML page
code?

thanks
 
Philippe,

I think that you would have to explain more what you mean with "all HTML
page code"
A HTML page is nothing more than a format, with in it (in the case of ASPX)
mostly a lot of Javascript. The Javascript code is processed at the client
side.

Cor
 
ok.

I work in a cms environment.
My aspx page is a template which contains an Htmlplaceholder.
This placeholder contains informations concerning daily cotation.
So I have to change informations in the htmlplaceholder each day.

You will say "why do u use a placeholder so?"....Because i'm obliged to use
this specific template with this specific placeholder..;o( .

Normally a placeholder is used for static information.I know.

So my idea was to modify the content of the page in the render method.To
modify the content of the page, I have to get the html stream.
I know how to do that for a particular control...For exemple the content of
my placeholder.

Ask me more informations if my request is not understandable ;o)

philippe
 
Thanks a lot for your help.
But i think that my error is more linked to a CMS using...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top