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

About Software

Deep thoughts on Software
SmartTabs: Yet another smart control in town

this weekend, after watching the dismissal of Argentine, UK and Brazil, I put off TV and
then decided to re-test my abilities in writing server controls. After couple of minutes of thinking what to write, I got an idea to write an ajax enabled Tabs rendering control. So SmartTabs came into existence. Its an easy to use asp.net server control to render tabs and load pages into tabs without a visible postback. You can see one such implementation at
Yahoo. Commnuity server also uses these sort of UI on create a new blog page. SmartTab uses XMLHttpRequest to make a request and fetch data from other html, aspx, php etc pages.

You can add the control to toolbox and have drag&drop functionality. You can define your own CSS for more pleasent look and feel. The demo project will show you how you can use your CSS to render the tabs.
Currently SmartTabs can only be used for .net framework 1.1 applications. I hope
someone will convert it to 2.0 and upload here. You are free to use, extend or modify the control for commercial, personal or any purpose. Send me an email if you found anything wrong except there are some limitations for example:
You can't make cross domain calls to load external pages.
The viewstate is not persistance so everytime when page loads the default tab will be selected.
And Its a 1.1 control, means Visual Web Developer users can't use it.

I uploaded the control's source code + fully functional demo with this post,  download and have fun.

Happy programming.

Posted: Sunday, July 2, 2006 10:23 PM by developer
Filed under:

Attachment(s): SmartTabsUpload.zip


Khurram said:

Great contribution!
# July 3, 2006 2:52 PM

kadnan said:

Great work.
# July 3, 2006 5:33 PM

developer said:

Just try to run sample application provided with the SmartTabs and it'll work. I'm not sure at which stage you're getting this error. I download the sample on aonther pc and it works well. If you continue experiencing this error, please let me know with a snapshot of complete error screen.
# August 21, 2006 2:09 PM
Anonymous comments are disabled