Cost Effective Website and Network Monitoring
IPCheck Server Monitor - Free Download

Web News

State Bank of India to set up 6,000 rural kiosks
Revamping its rural banking focus, the country’s largest bank, the State Bank of India (SBI) has decided to set up 5,000-6,000 rural kiosks and has...

India: The Militant Focus on High Tech
On Jan. 5, Indian police arrested a suspected militant near Jalahalli, a village just north of the important high-tech center of Bangalore. The arrest, the latest in a series of incidents connected to the high-tech industry, demonstrates the increasing...

India 's first animated 3-D film in April
MUMBAI :Icy N Spicy, India's first 3D animated film is due for an April release all over. The film is produced and directed by Delhi-based Anil Goel with a special software programme...

India: Ashok Leyland global sales rise by 29.6%
Source: Automotive World Ashok Leyland's global sales for December sales rose by 29.6% to 5,890 units, compared with 4,544 units sold a year earlier. Sales in India totalled 5,413 units, up from 3,667 in December 2005, while exports fell to 477...

Italian Prime Minister to lead business delegation to India
NEW DELHI: Italian Prime Minister Romano Prodi will lead high a level business delegation to India with a view to enhancinge economic ties between the two countries. Engaged in preparing the...

Oil Ministry - Infrastructure status for E&P business
Petroleum Ministry has demanded that oil and gas Exploration and Pipelines business be granted infrastructure status to encourage prospecting in unexplored basins. "Only 31 percent of India's sedimentary basins have...


01.05.07


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.

Cost Effective Website and Network Monitoring
IPCheck Server Monitor - Free Download



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.

http://www.madskristensen.dk/

About DevWebPro India
DevWebPro India is for professional developers ... those who build and manage applications and sophisticated websites. DevWebPro India delivers via news and expert advice New Strategies In Development.

DevWebPro India is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com NetworkNewz.com


-- DevWebPro India is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article

New Strategies In Development DevWebPro India News Archives About Us Feedback DevWebPro India Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact