M
Mohsin Khan
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>>
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>>