Thursday, February 9, 2012

Alphabet Selector Web Server Control

August 27, 2008 by Kushel  
Filed under Latest, Web Development

This control will display the alphabet, A to Z, where each letter will be clickable. On clicking a letter, an event is raised detailing the letter which was clicked. This letter
can then be captured and used as needed, for example to display a set of results beginning with the specific letter.

Directory Search

To download this web server control and with projects (VB.Net and C#), please click HERE.

To use the web server control in your own projects, you will need to reference the dll file. The dll file is available in the ‘Bin’ directory of both sample projects, select either one.

To use the control in a single project, add a reference to the dll file (Visual Studio – Project – Add Reference – Browse to dll file). The reference will appear in your project’s ‘Bin’ directory. Then simply register the control in your webpage (<@Register….>) and add the control <cc1:Alphabet…..>.

To make the control so it is available to all your projects, add it to the Global Assembly Cache by either:

1) Windows Explorer – C:\Windows\Assembly – drop dll file into there.
OR
2) Use the GACUtil tool from Visual Studio Cmd Prompt – GACUtil.exe /if <path to the dll file>.

Then simply register the control in your webpage (<@Register….>) and add the control <cc1:Alphabet…..>.

(You can also add the control to your Visual Studio Toolbox then drag and drop onto your webpage whereby the plumbing code will be automatically created for you).

To learn how to create your own Web Server Control click here.

  • Twitter
  • Facebook
  • Delicious
  • Bebo
  • StumbleUpon
  • Digg
  • Blogger Post
  • WordPress
  • Share/Bookmark

Related posts:

  1. Creating a Custom Web Server Control – Alphabet Selector Web Server Control
  2. Failure adding assembly to the cache: Unknown Error – GACUtil
  3. Component to Connect to Active Directory with Sharepoint WSS

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Communicate Through Technology is Digg proof thanks to caching by WP Super Cache!

Communicate Through Technology is Digg proof thanks to caching by WP Super Cache!