|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
modify HTML in code behindhello,
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 Show quoteHide quote "Cor Ligthert" <notmyfirstn***@planet.nl> a écrit dans le message de news:%238ZFLipOFHA.2288@TK2MSFTNGP10.phx.gbl... > 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 > > Philippe,
I find this one of the worst documentated parts of Net. However maybe is this what you are looking for. (You have to go further on the pages to see what it is). It is possible to get rid of that HTML, however I never found any official documentation about that and I am myself in a way with that in the try on error method. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebUIDataBinderClassEvalTopic.asp Cor Thanks a lot for your help.
But i think that my error is more linked to a CMS using... "Cor Ligthert" <notmyfirstn***@planet.nl> a écrit dans le message de http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebUIDataBinderClassEvalTopic.aspnews:ekFgeYqOFHA.3940@TK2MSFTNGP12.phx.gbl... > Philippe, > > I find this one of the worst documentated parts of Net. However maybe is > this what you are looking for. (You have to go further on the pages to see > what it is). It is possible to get rid of that HTML, however I never found > any official documentation about that and I am myself in a way with that in > the try on error method. > > Show quoteHide quote > > Cor > >
In-place Updating in Datagrid not working
Why doesn't timer tick Accessing Through Newsreader Data/Business Object Tier Best Practices How to expose a structure to VB6 from VB.NET? Datagrid problem How to convert a Byte array to a String Multiselect List Box Catching exceptions during DirectoryInfo.GetFiles? dataset xml |
|||||||||||||||||||||||