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

1
kicks
submitted by Tron 2 years, 4 months ago

spinningtheweb.blogspot.com — How to avoid a common pitfall associated with control designers when developing custom server controls.

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:
This isn't really a gotcha. If you want to use the namespace, you need to add a reference. If you want to use web services, you have to add a reference to System.Web.Services.
posted by gavinjoyce gavinjoyce 2 years, 4 months ago
True, I suppose it's more of a "Tip" than a "Gotcha". I'll change the title of the article to reflect this.

The difference in your example is that the System.Web.Services namespace belongs to the System.Web.Services.dll assembly and a reference is automatically added for a webservice project. However, the System.Web.UI.Design namespace isn't located in a System.Web.UI.Design.dll as I expected. Instead it is found in the System.Design.dll and unlike most web-related namespaces needs to be manually referenced in order to be used.
posted by Tron 2 years, 4 months ago
Hmm, cm'on, let's post something useful.
posted by simoneb simoneb 2 years, 4 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge