 |
 |
| Web News |
Subtel sees MVNOs entering the market The entrance of mobile virtual network operators (MVNOs) to the Chilean market will only be possible once companies reach agreements to unbundle...
Vodafone CEO: Focus On New Revenues... Vodafone Group Chief Executive Arun Sarin said Tuesday that the mobile phone operator is committed to gaining 10% of total revenue from fixed-line Internet, office and home communication services in three to four years, as it looks to counter pricing pressures...
Hastings Direct bought by Australian Giant Staff at Bexhill's biggest employer have been told jobs are safe following a £140 million takeover. The 800 workforce of Collington Avenue insurance firm Hastings Direct this week came under Australian management...
Ensuring Billing Records Comply With EU Law EMC Corporation, Intec Telecom Systems and SenSage say that they have pooled resources to provide a solution to answer the mandates of the recently passed EU Data Retention Directive...
Vasco acquires Able; reports strong Q3 Vasco Data Security International, Inc, the global number one vendor of strong user authentication products, today announced its acquisition of Unified Threat Management (UTM) specialist Able N.V. of Mechelen, Belgium.
|

|
10.27.06 Adding Social Bookmark Links To ASP.NET Pages By
Mads Kristensen Social bookmarking is often thought of as being something used only on blogs. That's probably because you only see them on blogs, when they in fact could be used at most other types of websites as well.
It is a feature that is very easy to add to any ASP.NET page, but I haven't found any simple code on the web I could use for it. So, as so many times before, I had to create the feature from scratch. In this case it was no problem because it is so simple.
 I wanted the usual list of icons at the bottom of every web page and thought that a user control was the easiest way to go. So this is what I came up with. Download the user control at the bottom add it to your web project. In the download you'll also find some icons that is used by the user control. Add those into "/pics/bookmarks/" at the root. You can of course add them where ever you want, but then remember to update the path in the control.
At this control registration to the top of the page:
Then add this at the end of the text on your page or anywhere else you want the icons to appear.
It is very easy to add new bookmark providers to the list as you can see in this method in the user control:
I used this page for finding the links needed to use all kinds of bookmarks and this page for the icons. The whole user control only consist of 2 methods and 4 properties so everyone should be able to customize it.
Download: socialbookmarkcontrol.zip (9,3 kb)
About the Author: Mads Kristensen currently works as a Senior Developer at Traceworks located in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in 2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and web services in his daily work as well. A true .NET developer with great passion for the simple solution. |