473,386 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Navigation Suggestions

I'm still pretty new to ASP.NET. I'm developing a site that requires all
users to log on. Once logged on, I can determine which of three types of
users they are (types are implemented using ASP.NET membership roles).

Each type of user will have access to a different set of pages. I can use
roles to specify which pages can be accessed by which type of user.

But I'm trying to determine the best way to display navigation for each type
of user. I'd like to use a common master page. Does anyone have any
suggestions? And would ASP.NET navigation be helpful for providing
role-specific menus?

Also, is there any advantage to placing pages for each type of user in
separate directories?

Thanks for any tips!

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Nov 4 '07 #1
4 1068
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eH**************@TK2MSFTNGP05.phx.gbl...
But I'm trying to determine the best way to display navigation for each
type of user. I'd like to use a common master page. Does anyone have any
suggestions? And would ASP.NET navigation be helpful for providing
role-specific menus?
If the three menus are similar enough, I'd just have one which you then
amend as necessary as the MasterPage gets loaded by the content pages...
Also, is there any advantage to placing pages for each type of user in
separate directories?
Again, it depends how different the functionality is between the three
types - I guess it would have to be *really* different to justify separate
folders - at that point, you may as well have separate sites, as it's
tantamount to the same thing...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 4 '07 #2
Mark,
>But I'm trying to determine the best way to display navigation for each
type of user. I'd like to use a common master page. Does anyone have any
suggestions? And would ASP.NET navigation be helpful for providing
role-specific menus?

If the three menus are similar enough, I'd just have one which you then
amend as necessary as the MasterPage gets loaded by the content pages...
Each of the three menus would probably have a completely different set of
links/pages. Is that what you meant by "similar?"

Do you not really see the ASP.NET navigation controls being helpful for
this?
Again, it depends how different the functionality is between the three
types - I guess it would have to be *really* different to justify separate
folders - at that point, you may as well have separate sites, as it's
tantamount to the same thing...
They will be similar to three separate sites except A) All will be at the
same domain, and B) each will share the same master page and look and feel.

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Nov 4 '07 #3
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>If the three menus are similar enough, I'd just have one which you then
amend as necessary as the MasterPage gets loaded by the content pages...

Each of the three menus would probably have a completely different set of
links/pages. Is that what you meant by "similar?"
In that case, I'd probably use three separate <asp:Menu /controls, hiding
any two of them as required...
Do you not really see the ASP.NET navigation controls being helpful for
this?
???
>Again, it depends how different the functionality is between the three
types - I guess it would have to be *really* different to justify
separate folders - at that point, you may as well have separate sites, as
it's tantamount to the same thing...

They will be similar to three separate sites except A) All will be at the
same domain, and B) each will share the same master page and look and
feel.
I guess then it might make sense to have them as separate folders - it would
certainly help maintainability...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 4 '07 #4
Mark,
In that case, I'd probably use three separate <asp:Menu /controls,
hiding any two of them as required...
That might be something to try.

I was thinking the ASP.NET navigation controls might have stuff for showing
different selections based on the role of the current user. But I'm not sure
where I picked up that thought.

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Nov 4 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Patton | last post by:
Using my About page as an example: http://members.shaw.ca/davepatton/about.html What is the best/proper way to markup a page such as this that has "the main body" and "a navigation menu"? It...
5
by: Sangeetha Nagaraj | last post by:
We are building a MEGA web site which is having more than 1000 links, sometimes we will mesh-up with the filenames and the links. Navigation become complex because of this issue. I dont know how...
8
by: paul.denlinger | last post by:
Hi-- Things have gone well for me on this page design, but when I added a background image, it pushed everything down and messed up my page layout. Before I added the navigation background...
0
by: emalcolm_FLA | last post by:
Hello and TIA for your consideration. I have created several db's for a non-profit and they want custom navigation buttons to display "You are on the first record, last record, etc". With this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.