Using the AJAX DropDownExtender with the GridView class

by Codewiz51 31. March 2010 11:13

I've put together a short article on using the AJAX DropDownExtender with the GridView class.

Tags: , ,

Programming

MVC, Ajax, jQuery...

by Codewiz51 11. March 2010 18:22

I used to gripe about having to update my Boost C++ libraries so often, but these web/.Net things seem to morph by the day.  I am trying to get up to speed on modern web design techniques and so far, I've updated my components twice in the last two weeks.

More...

Tags: , ,

Design | Programming

A quiet, intimate evening spent with AJAX

by Codewiz51 5. June 2009 06:43

I downloaded the Ajax control toolkit from codeplex a couple of nights ago. I spent the evening trying to integrate the Accordion control on to one of my pages to understand what might be involved with upgrading my Web site to use Ajax.

As is usual, there was a lot more work involved than I would have guessed from working with the sample web site.  After about forty five minutes, I had succeeded in integrating a sample Accordion control on my Software Favorites page.  As it turns out, I will need to change the underlying architecture of my web site to use Microsoft's version of AJAX.

Here are the steps I needed to perform to use the Accordion control.

  1. Create a bin directory and place the AjaxToolkit.dll and the localization files in the bin directory
  2. Add a reference to the toolkit dll in the web project
  3. Add a registration for the toolkit dll in the header of my web page.
  4. Change the web.config to know where to find the toolkit dll.
  5. Add a form tag with runat="server" to wrap the Accordion control. (Painful as I am not using forms or "runat" for my pages.)
  6. Add a script manager control to the page.
  7. Add the accordian tag markup.
  8. Add panes for the actual accordian object.
  9. Add the accordian control mark up for each pane.
  10. Change style sheet to take care of thematic elements such as fonts and colors.
  11. Add the AjaxControlToolkit.dll to my Toolbox.  (This displays a plethora of AJAX controls in the toolbar and can be quite frightening.)

After I completed these steps (mostly through trial and lots of errors), I have to say I was pleased with the results. You'll need to scroll to the bottom of the page to view the sample accordian effects.

 

Tags: , ,

Programming

Disclaimer

This blog represents my personal hobby, observations and views. It does not represent the views of my employer, clients, especially my wife, children, in-laws, clergy, the dog, the cat or my daughter's horse. In fact, I am not even sure it represents my views when I take the time to reread postings.  So, take most of what I say with a grain of salt.

© Copyright 2008-2014