Senior & Expert .Net Developers Discussion Forum by Nyros Technologies

HIRE .Net Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

Ajax TabContainer behaviour like Windows TabControl?

 
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Ajax.Net
View previous topic :: View next topic  
Author Message
mohsin_khan01



Joined: 18 Aug 2008
Posts: 9
Location: India/Mumbai

PostPosted: Tue Aug 19, 2008 9:28 am    Post subject: Ajax TabContainer behaviour like Windows TabControl? Reply with quote

Hi,

I am working on a website where i am creating Horizontal Menus Dynamically
from database as per rights available to the user. I have several
UserControls. And the Menu control also brings UserControl's URL stored in
Database while Page load.

There is a TabContainer control below the Menu Control.

Now i want to add corresponding UserControl dynamically when user clicks on
any MenuItem. also want to load data while UserControl loaded.

Page PostBack is the enemy of all Web Developers... and so is mine..

I don't want to load already added userControls again, everytime the user
clicks any new MenuItem as when menuitem click start postback. The
Application is very much data driven, loading heavy data again and again
would not be the greatway to deal with.

Only the selected usercontrol should be added and it should not effect any
other things on page like Windows TabControl. Think like Windows TabControl
where we can switch between windows and we receive that previous tab in
status we left.

I know it's not at all a easy thing but it is possible..

The thing is when i am clicking any MenuItem ,corresponding TabControl
is getting added in TabContainer but TabContainer due to page Postback is
losing the last added Tab. Means it is showing only the Latest added Tab on
every menuItem click.

Then i tried keeping Menu Control in Update Panel so that whole page will
not refreshed. In this way it's not even adding any UserControl on
TabContainer. It is going with in the Eventhandler but seems to be like
update panel asynchronous postback is not happening. when i debugged this
then i got that everything is null. even UserControl object is also null
which MenuItem click is bringing from server side...

don't know exactly what's happening here..

Please pls pls help me... anyways thanks for all. Guys, waiting for
replies .
Back to top
View user's profile Send private message
manoj



Joined: 21 Aug 2007
Posts: 102

PostPosted: Tue Aug 19, 2008 11:20 am    Post subject: Reply with quote

Hi mohsin,

AFAIK You can store the UserControl URLs in sessions and Save them temporarily in a DataTable . finally rebind them to your Ajax TabContainer.

i hope this will helps you a bit.


all the best....


regards,
manoj
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Ajax.Net
Page 1 of 1


 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Exceptional Manger
1 suraj 15 Thu Sep 02, 2010 8:52 am
Rahul View latest post
No new posts background image for UITableView
0 kumar 20 Wed Sep 01, 2010 10:34 am
kumar View latest post
No new posts Types of Run time exceptions
1 Dheeraj 23 Wed Sep 01, 2010 8:58 am
venkat View latest post
No new posts Access Web Page content in Windows Forms without WebBrowser
3 mouli 249 Wed Sep 01, 2010 7:31 am
rajesh View latest post
No new posts Explain Interlocked Class & Daemon Thread's?
1 mukundh 33 Wed Sep 01, 2010 7:19 am
setty View latest post
No new posts Life Cycle Of Delegate
0 vinay 18 Wed Sep 01, 2010 7:14 am
vinay View latest post
No new posts Accessing methods defined in another page
1 suraj 21 Tue Aug 31, 2010 12:45 pm
Rahul View latest post
No new posts How ASP.Net events are processed?
1 Teena 27 Tue Aug 31, 2010 11:55 am
suraj View latest post
No new posts Universal description discovery and integration
1 Dileep 21 Tue Aug 31, 2010 11:45 am
venkat View latest post
No new posts What is the difference between Shadowing and Overriding ?
1 suraj 28 Tue Aug 31, 2010 11:37 am
Teena View latest post




Hire an expert .Net developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   PHP   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About .Net Experts   |   More