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

9
kicks
published 3 months, 9 days ago, submitted by Tr3v 3 months, 10 days ago

tr3v.net — The purpose of this class is to simplify the generation of basic HTML tables.

Add a comment 7 comments | category: | Views: 23 | 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:
Hey, this look really neat--but I couldn't download it successfully. Could you shout when you fix it?
posted by samdnp 3 months, 9 days ago
The download option is now working, apologies for that!
posted by Tr3v 3 months, 9 days ago
The built-in HtmlTable class in System.Web.HtmlControls can be used in a similar way.

[)amien
posted by DamienG DamienG 3 months, 9 days ago
How about you change the functions so that they return the builder. Then you could do this:
TableBuilder tb = new TableBuilder();
tb.AddHeaderRow("Col 1", "Col2", "Col 3")
.AddRow("col 1", "col 2", "col 3")
.AddRow("col 1a", "col 2a", "col 3a");

Just a thought
posted by aquinas 3 months, 9 days ago
Unless I misunderstand you, does it not do that already?
posted by Tr3v 3 months, 9 days ago
Sorry, after re-reading your post, I see what you mean! I didn't think of that when I built the class, the download is for the source so anyone can adapt it to suit their individual needs. If I get round to it i'll update it to do exactly that as it would be a useful addition. Thanks for the feedback.
posted by Tr3v 3 months, 9 days ago
I've finally gotten around to adding that update, the AddHeaderRow and AddRow methods now return the builder so you can do .AddRow(...).AddRow(...); if you wish
posted by Tr3v 1 month, 5 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge