Re: Ajax TabContainer behaviour like Windows TabControl?



On Aug 12, 6:44 pm, Mohsin Khan <Mohsin
K...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
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.. i m refering a lots
of things but still

Pls help me with this issue... Awesome u>>



Hi,

As much i know..Tabcontainer will load everything first time itself
and won't load controls or data in it when you select particular
tab...it may degrade the performance if you are having more than two
tab and fetching heavy data..then it will take time to load your page
for the first time..

if you find any proper solution then just let me know about it...

.



Relevant Pages

  • Re: Dynamically Loading a UserControl
    ... only one user control is being rendered. ... SelectedIndexChanged event do a Server.Transfer and apend a QueryString to ... Requestquery string to know which control to load. ... > keeping track of what UserControl to load upon a page being posted back. ...
    (microsoft.public.dotnet.framework.aspnet)
  • VB6.0 Data Grid (Run-Time)
    ... ss .mdb databases, now... ... and linked the grid to the Data1 control... ... The problem is that I have a 'Backup Database View' control which is ... d to load in a new form a Data control, a DB Grid and load the .mdb ...
    (microsoft.public.vb.general.discussion)
  • RE: Question Title: Unable to Load a .NET UserControl In Web Browser
    ... and add a Button control on it. ... the control does NOT LOAD. ... > AssemblyKeyFile() location. ... > control and SHDocVW to host Office documents in a .NET Assembly UserControl ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Dynamically Loading a UserControl
    ... > only load the control named in the ViewState if the PostBack was NOT ... >> keeping track of what UserControl to load upon a page being posted back. ...
    (microsoft.public.dotnet.framework.aspnet)
  • DBgrid (opening .mdb runtime)
    ... and linked the grid to the Data1 control... ... The problem is that I have a 'Backup Database View' control which is ... d to load in a new form a Data control, a DB Grid and load the .mdb ...
    (microsoft.public.vb.general.discussion)