E
eric.olstad
I want to create a web site that can dynamically creates tabs -- like
firefox functionality built into a web site.
Take a look at this site to get an idea of what I'm looking to do:
http://www.krugle.com/demos/Overview5_800.html
Now, I'm not looking to copy the entire interface from Krugle, but I am
very interested to understand how they are implementing those tabbed
panes. It's pretty brilliant because they're dynamic.
Anyway, I'm at a loss of how to do that in ASP.NET. At first it seemed
like a MultiView would work, but adding views dynamically to a
MultiView, and having them persist seems impossible. You can't
serialize Views to the ViewState.
Then I thought maybe I could just store a list of URLs in the ViewState
and add views to the MultiView based on those URLs. But you can't
create views from a URL... at least not any easy way I care to find
out.
Then I thought to completely discard the MultiView. Instead, I thought
to use a panel of buttons to act as the tabs (using CSS to make them
look like tabs) where each button loads a dynamically generated page
(cached on the server) into a frame of a frameset. This is where I'm
at now. Any ideas on how I would go about dynamically generating a
page that could be cached somewhere on the server? Is it possible to
generate entire page web resources on the fly to be stored until the
session expires or the user logs out?
Any other ideas of how to implement this? Existing controls? Anything?
firefox functionality built into a web site.
Take a look at this site to get an idea of what I'm looking to do:
http://www.krugle.com/demos/Overview5_800.html
Now, I'm not looking to copy the entire interface from Krugle, but I am
very interested to understand how they are implementing those tabbed
panes. It's pretty brilliant because they're dynamic.
Anyway, I'm at a loss of how to do that in ASP.NET. At first it seemed
like a MultiView would work, but adding views dynamically to a
MultiView, and having them persist seems impossible. You can't
serialize Views to the ViewState.
Then I thought maybe I could just store a list of URLs in the ViewState
and add views to the MultiView based on those URLs. But you can't
create views from a URL... at least not any easy way I care to find
out.
Then I thought to completely discard the MultiView. Instead, I thought
to use a panel of buttons to act as the tabs (using CSS to make them
look like tabs) where each button loads a dynamically generated page
(cached on the server) into a frame of a frameset. This is where I'm
at now. Any ideas on how I would go about dynamically generating a
page that could be cached somewhere on the server? Is it possible to
generate entire page web resources on the fly to be stored until the
session expires or the user logs out?
Any other ideas of how to implement this? Existing controls? Anything?