473,779 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Intercepting and updating page output...

Stu
Hi,

I am working on a CMS that uses html templates with placeholder strings for
the content (eg: %%Content%%). I want to get the web control working on
a blank page. Then intercept the page as it is being rendered to the browser
and place the template around the output.

How do I intercept and change the html as it is being rendered to teh
browser?

Thanks in advance,

Stu


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

http://aspalliance.com/71

It uses the Filter property of the HttpResponse object.

bill

"Stu" <s.****@cergis. com> wrote in message
news:Oj******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

I am working on a CMS that uses html templates with placeholder strings for the content (eg: %%Content%%). I want to get the web control working on
a blank page. Then intercept the page as it is being rendered to the browser and place the template around the output.

How do I intercept and change the html as it is being rendered to teh
browser?

Thanks in advance,

Stu


Nov 19 '05 #2

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

Similar topics

11
16226
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? 1) simply UPDATING the values for all fields in the table, whether or not any particular field has actually changed 2) running a second SELECT statement and comparing the $_POST vars to the returned values, and only UPDATING those that have...
5
2629
by: Marc Schellens | last post by:
I want to create an object, which replaces std::cout all output will be put out to std::cout, but optional also copied to a file. But the file output needs to be manipulated: every new line has to be preceded by a ';' Is there an easy way to do so? Or do I have to write wrappers for all kind of
6
1802
by: Valery Polyakov | last post by:
I am drawing lines with a semi-transparent color (alpha=100). When these lines intercept, the color becomes more intense. Is there a way to avoid this, so that I would get the same intensity of color? Thanks a lot.
2
1055
by: Nick | last post by:
Hi, Is it possible to pass execution to a view (aspx file), let it do its job, and then capture the output? I want to achieve something like this during a HttpRequest: 1. Invoke the controller to process the request 2. Start building the page by doing the following: A: Read a template file B: For each required view read from the template file, invoke the view
4
1389
by: | last post by:
ASP.NET is a kind of "engine" that takes declarative markup and code and renders these instructions into presentational forms. And every page is a class. With that in mind I'm wondering, a) how to intercept the rendered output and do further programmatic things with it; and b) how coarse or finely grained the control might be. One could envision the
1
1092
by: Stu | last post by:
Hi, I am trying to grab the page output so I can do some html processing before the page is sent to the browser. I found a post somewhere which suggests that this would grab the page content immediately before it is sent to the browser. I have added this to the page but the sub is not called. Does anyone know how to get this going?
14
2962
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will utilise the disco file to update the Corresponding proxy file and reflect the changes made to the web service. However, the results of doing this with out params is that the results seem
3
1455
by: pamelafluente | last post by:
I am new to asp.net. I have an asp page with a submit button which sends out some information. Instead of having IIS to respond and deal with this information, I would like to have a .NET program (for instance a .NET service, or even a client .net application) which is able to intercept this call and deal with the associate information. This middle application might decide whether to send something to IIS or just do everything by itself...
1
1026
by: Christoph Boget | last post by:
I'm using a widget/control (a date picker), which I don't really have any control over, that is programmatically updating a text field. I'm curious if there is any way I can determine when the value of the text field is changed? I've tried setting the onchange for the field in the markup but because the value is being set programmatically, that event never triggers. Apart from setting up an interval, is there any other way to determine...
0
9636
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10139
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10075
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.