Site Navigation Design

B

Ben

Hi,

I'm trying to find the best way to design site navigation in ASP.NET.

A simple example is a site with a header, sidebar on the left with
links, and the right side contains the main content that changes as
the user clicks the links.

I want to only re-load the main content pane when the user clicks a
link on the left, not refresh the whole page (so master pages don't
accomplish what i want). I've done it before using IFRAMES or a DIV
that was modified by posting to a hidden form and then writing out the
response to innerHTML of the DIV. But is there a cleaner way? I
guess IFRAME might be ok, but so many people warn to stay away from it
nowadays... or is it still ok for this purpose?

Also, the main content may exceed the window height/width... i'd like
that if the user scrolls, he'll only scroll that pane, and not the
whole page (so that the sidebar and header will stay in place). I've
done this before by using a DIV and the overflow property and setting
its height/width using the IE-only expression() function in the
CSS.... but again, is there a better way? I'd rather write code that
works everywhere, not just on IE.

Thanks a lot for any advice/link you can provide !!!

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top