Welcome to weblogs.com.pk Sign in | Join | Help

About Software

Deep thoughts on Software
SmartTabs V 2.0

I guess you guys already know about SmartTabs (an asp.net control to render tabs and making out-of-band requests to get data from server).


Couple of days back I had to do this again for an asp.net 2.0 site. So I ported this to 2.0. The new control uses
asp.net's new Web Resources model for JS and Images. The full source code and demo can be downloaded from this location. You can learn how to embed resources (images, javascripts, css files) in your assembly and 
can be deployed as a single unit. Even you can put static html pages inside your assembly and deploy a single
dll on server. 

Download SmartTabs 2.0

Posted: Thursday, January 25, 2007 8:22 PM by developer


developer said:

Khurram, I believe iI mistakenly removed your comments :). I've been getting 20 to 30 spams comments daily so today I  deleted most of them and your comments went away with them.

Anyway, There is no standar asp.net control which could be used as AJAX tab control. You can't pull data from other pages wihout a postback or iframe. Recent AjaxToolkit contains a Tab control to display a portion of data at a time. But it also displays just on-the-page data. You can't pull data just-in-time from other pages. When you uses SmartTabs, the each tab points to a html or asp page and when you click on it, it pulls that pages' html using XMLHttp and bind it using to page using element.innerHtml

# January 30, 2007 1:53 PM
Anonymous comments are disabled