473,506 Members | 13,088 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

display content based on membership question

hi,
we're building a site which will have common pages for different
users, but certain sections will show different content based on the
membership of the logged in user, like admin, manager, developer,
tester, etc... any advise on what's the best way to handle those
sections? basically we're going to show a gridview on data in them,
just different data depending on who's logged in. Is it better to
have a panel and populate that with the gridview we want, or better to
make a new control which will have different templates in it based on
the memberships. Or is there something already in .net 3.5 that can
help us separate out those roles better?

thanks.
Oct 21 '08 #1
1 1448
Login view is one way, if the content is fairly easy to set up in a page.
You can set up different views by user or role.

Otherwise, I would use roles and dynamically display data from a persistant
store (database?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
<so******@yahoo.comwrote in message
news:e0**********************************@p58g2000 hsb.googlegroups.com...
hi,
we're building a site which will have common pages for different
users, but certain sections will show different content based on the
membership of the logged in user, like admin, manager, developer,
tester, etc... any advise on what's the best way to handle those
sections? basically we're going to show a gridview on data in them,
just different data depending on who's logged in. Is it better to
have a panel and populate that with the gridview we want, or better to
make a new control which will have different templates in it based on
the memberships. Or is there something already in .net 3.5 that can
help us separate out those roles better?

thanks.

Oct 24 '08 #2

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

Similar topics

11
3815
by: Bozo Schmozo | last post by:
Greetings! I've searched groups.google.com already to see if I can determine if using PHP/MySQL (if needed) for a web site I wish to develop. As the subject indicated, it will be a content...
1
2613
by: John Davis | last post by:
I want to display credit card fields when the user selects the option paid membership. If user selects the option free membership, then the credit card text field will disappear. Here's the code I...
1
1602
by: Matthew Loraditch | last post by:
I'd like to have a frequently used link page on our intranet that displays the urls' based on a users's ad group membership, i.e. if from accounting show general ledger reports, if from loans, show...
4
3544
by: Ken Post | last post by:
Hello- I'm fairly new to writing SQL statements and would greatly appreciate some help on this one. I'm working on a project for a non-profit that I volunteer for. Part of the database...
3
2977
by: | last post by:
One thing I did a lot of in Classic ASP involved showing page elements conditionally based on whether a user was logged in or not. Logged in users or "superusers" would get more content and/or more...
2
1340
by: John | last post by:
Hi I am using the sql server based built-in membership/roles system. How can I choose which links appear on a page based on what roles the current user belongs to? Thanks Regards
5
5016
by: Peter Lapic | last post by:
I have to create a image web service that when it receives an imageid parameter it will return a gif image from a file that has been stored on the server. The client will be an asp.net web page...
1
1484
by: Marek Sukiennik | last post by:
I am a newbie so sorry if thsi is too simple a question ... I have a SQL table with an IMAGE type col that contains images. I want to be able to display the image on a web page along with other...
2
1899
by: Erik Lautier | last post by:
Hi, I have a table that I insert a member's country into every time someone signs up. What I'd like to do is pull information from the DB such that I can see each country and the number of users...
0
7220
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
7371
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...
0
7479
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1534
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.