Click here to Skip to main content
12,697,311 members (28,384 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
Help pls for the below.
There is an HTTP module named CustomModule registered in the web.config file.
The CustomModule class contains the foll code
public class CustomModule : IHttpModule
{
string footerContent = "<div>footerContent</div>"
public void dispose() {}
}

Need to add code to CustomModule to append the footercontent to each procssed ASP.NET page.
How to proceed on this??????????
Posted 4-Jan-13 5:04am
Updated 4-Jan-13 5:14am
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You really want to do this with a master page, not a HTTP handler
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100