DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

18
kicks
published 1 year, 8 months ago, submitted by nemanujda 1 year, 8 months ago

aspnetlibrary.com — You can use Response.Filter to get a reference to the final HTML that will be sent to the client

Add a comment 2 comments | category: | Views: 4 | Get KickIt image code
tags: , , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
I admit that i didn't know about the Filter property; but, in all honesty, I really can't think of any reason that I'd actually use this in a production environment. I realize that this sample was just to prove a point, so can anybody give a good reason that you would want to do this?
posted by senfo 1 year, 7 months ago
I use it to alter the HTML that a 3rd party component outputs. I don't have direct access to change this from the control itself so this was an easy way of manipulating the HTML. This could have also been done with a httpModule (or on each page by overriding the page's Render method) however, I thought this was a more suitable approach as I could just apply it to whichever pages I wanted with one line of code.
posted by ca8msm 1 year, 7 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge