CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Steve Hebert's Development Blog

Steve's Blog - From .Net to dotMath and everything in between.

telerik's TabStrip control - first implementation impressions

I just finished wiring up telerik's TabStrip control for the first time. The experience was pretty painless.

For background, we have a page that displays a large amount of data.  This data is all hidden/shown client-side using javascript.  The previous implementation was using links that called the show/hide function.

To implement their control client-side:

  1. I added a project reference to the TabStrip library.
  2. Added the control reference to the display page.
  3. Added the code behind that handled the tab creation (a dynamic list).  The individual tabs can be created by performing a "new Tab(name)".  The tab object is then added using the TabStrip.Tabs.Add(...) function.  The function calls to show/hide the content were made using the Tab.Attributes.Add(..) functionality which is identical to the Attributes collection on other ASP.NET controls.
  4. I ran the control and it complained the source files had not been loaded into the proper directory.  It even provided a link to telerik's side explaining the situation along with other problems that can cause the error (directory permissions, etc).  I copied the files, hit refresh and everything just works.

I was very happy with how easy the implementation went.



Check out Devlicio.us!

Our Sponsors