Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
ffttt
Home
>>
Forum
>>
ASP.Net
>>
Post New Question
Subscribe to Forum
Master page with 3 logins
Posted By:
sheeba
Posted Date:
July 05, 2011
Points:
5
Category :
ASP.Net
Hi
I have master page with 12 menus which is in left side...
i have 3 logins namely Admin,employee and customer...
Now i want to show these menus according to these 3 logins..how to separate these under codings?
ie) i want to show every menus for admin,if admin login
if employee login the page means need to show only employee details like that...
now i have only one master page,which is common for all 3.what i want to do here?
can u tell me...?
Note: i did not do everything in web.config file...
reply me soon....
Thanks....
Responses
Author:
Amit Mehra
Posted Date: July 05, 2011 Points: 20
Hi,
You can do in many ways..one way is have 3
web user control
for menu and depending upon login you can load the control dynamically..
Hope this will give you an idea
Thanks,
Amit
Please "
Mark As Answer
" if this post help you.
Author:
Gowthammanju
Posted Date: July 05, 2011 Points: 20
Hey u can provide single login page for these three logins as
by taking out the usertype there by u can redirected to the necessary page do u want
while registering just add usertype there by u can seperate users
login based on which u need to access the page
Thanks & Regards,
GowthamManju
Chennai
Mark if the answer is true
Author:
Sasi Prabhu
Posted Date: July 05, 2011 Points: 20
Hi,
set the visibility property depends upon the roles..
Thanks & Regards,
Sasi Prabhu.
Author:
sheeba
Posted Date: July 06, 2011 Points: 20
Hi
can anyone give me the coding?
Thanks
Post Reply
You must
Sign In
To post reply
Related Questions Related Questions
how to put head tag in child page of master page
How to access Master Page control from another web form
How to design a master page
How to access the control in the master page from a child page?
Setting footer of sharepoint master page at the bottom irrespective of IE version
add existing aspx page to the master page
Applying style in master page
Sharepoint 2010 Master page sticky footer at the bottom irrespective of the content
Content page is not visible Only master page is visible
User can not select TEXT for copy paste from my .aspx page...
Latest Forum Questions From The Same Category
Certification
how to learn and Where can i Learn about ASP .Net
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
upload image
How to make a nested datalist control?
What class does Icon derive from?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Here
Quick Links For Forum Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
OOPs
Silverlight
IIS
JQuery
JavaScript/VBScript
Biztalk
WPF
Patten/Practices
WCF
Others
www.DotNetSpark.com
UnAnswered
All
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend