473,396 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing entire Web Form HTML Source

Is it possible in any event in the System.Web.UI.Page class to reference the
entire HTML that will be output to the browser after all controls, etc. have
been rendered? I would like to replace all instances of a keyword in the
HTML at runtime when the page is loaded. I cannot afford to set all of these
controls to "runat=server". Any ideas?

Thanks,

Shawn
Nov 19 '05 #1
2 954
I believe this is exactly what you are looking for:

http://aspalliance.com/71

It uses the Filter property of the HttpResponse object.

bill

"Shawn Berg" <sh***@saeweb.com> wrote in message
news:Os**************@TK2MSFTNGP14.phx.gbl...
Is it possible in any event in the System.Web.UI.Page class to reference the entire HTML that will be output to the browser after all controls, etc. have been rendered? I would like to replace all instances of a keyword in the
HTML at runtime when the page is loaded. I cannot afford to set all of these controls to "runat=server". Any ideas?

Thanks,

Shawn

Nov 19 '05 #2
This worked perfect. Thanks so much for pointing me in the right direction.
Definitely a nice way to end the day after being frustrated and not knowing
how I was going to accomplish this.

Shawn

"William F. Robertson, Jr." <th****@nameht.org> wrote in message
news:OM*************@TK2MSFTNGP15.phx.gbl...
I believe this is exactly what you are looking for:

http://aspalliance.com/71

It uses the Filter property of the HttpResponse object.

bill

"Shawn Berg" <sh***@saeweb.com> wrote in message
news:Os**************@TK2MSFTNGP14.phx.gbl...
Is it possible in any event in the System.Web.UI.Page class to reference

the
entire HTML that will be output to the browser after all controls, etc.

have
been rendered? I would like to replace all instances of a keyword in the
HTML at runtime when the page is loaded. I cannot afford to set all of

these
controls to "runat=server". Any ideas?

Thanks,

Shawn


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Phillip Wu | last post by:
Hi, I saw a previous post about sending arrays but did not quite understand the answers. The problem is that I would like to pass an entire array as a hidden input field from one php script...
2
by: Erik Andersson | last post by:
Hi! <? class Foo { function getMessage() { return "foo"; } } class Bar { function getFoo() {
3
by: Tom Meuzelaar | last post by:
Hello: I'm using VB6 in VS enterprise. I'd like to place an HTML form inside a VB container, have a user fill out the form information, click a submit button, and then have the program capture...
11
by: Todd | last post by:
I have been tasked to create an app that will be run from a CD on stand-alone machines that needs to search and retrieve data from an XML Data Island. The best approach that I can see to handle...
2
by: Jeff | last post by:
Hi - I have an ASP.NET web page accessing a SQL database. It works fine on the web, and I'm trying to get it to also work in debug mode in the IDE. The "on the web" page and my SQL database...
3
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
3
by: Son KwonNam | last post by:
Hello, When there a two forms like the follosings, <form name="source"> <input name="a..." value=".." ..> <input name="a..." value=".." ..> <input name="a..." value=".." ..> <input...
0
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
3
by: judy.j.miller | last post by:
Does anyone know why i can't access a form element value using dot notation in firefox, when i'm in a function. Works ok in the body. I'm trying to do this: var FarTemp = faren.temp.value; I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.