Click here to Skip to main content
15,892,674 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: textbox entry restrict Pin
eyeseetee5-Oct-08 21:58
eyeseetee5-Oct-08 21:58 
GeneralRe: textbox entry restrict Pin
simsen5-Oct-08 22:00
simsen5-Oct-08 22:00 
AnswerRe: textbox entry restrict Pin
Vengatachalapathy Palanivel6-Oct-08 2:07
Vengatachalapathy Palanivel6-Oct-08 2:07 
Questioncross domain login Pin
alok.mailbox5-Oct-08 18:58
alok.mailbox5-Oct-08 18:58 
AnswerRe: cross domain login Pin
rihdus5-Oct-08 21:09
rihdus5-Oct-08 21:09 
GeneralRe: cross domain login Pin
alok.mailbox6-Oct-08 2:06
alok.mailbox6-Oct-08 2:06 
AnswerRe: cross domain login Pin
Deepak the Cool6-Oct-08 3:00
Deepak the Cool6-Oct-08 3:00 
QuestionMembership and roles problem. Pin
SUDHAKAR PALLAM5-Oct-08 18:10
SUDHAKAR PALLAM5-Oct-08 18:10 
Hi,

My i am working on asp.net 2.0

I want to use built in security features.
Actually, i used login control for the login.
And i am using web.sitemap file for filling for tree view.

Using Website Administration tool, i have defined 2 logins and 2 roles.
Roles are Administrator and Users.
I have assisgned 1 role for each user.

I have created 2 folders in my website.
1. Admin
2. User

For Admin folder i have given access to Administrator role
and for User folder i have given access to User as well as Administrator.
And i also denied access to all users for my Admin folder.

In web.config file i added membership tag with the provider and specified securitytrimmingenabled true.

But, when i execute my application,and give login details tree view is not displayed. What i mean to say, is none of the nodes are displayed.
But, if i comment that code in web.config file, My treeview is displayed. But, even the pages inside Admin folder are accessible to Users role also.

Can u please help me in this regard.

Thanks in advance.
AnswerRe: Membership and roles problem. Pin
AlexeiXX35-Oct-08 19:01
AlexeiXX35-Oct-08 19:01 
GeneralRe: Membership and roles problem. Pin
SUDHAKAR PALLAM5-Oct-08 19:08
SUDHAKAR PALLAM5-Oct-08 19:08 
GeneralRe: Membership and roles problem. Pin
AlexeiXX35-Oct-08 19:15
AlexeiXX35-Oct-08 19:15 
QuestionHow could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 8:32
JUNEYT5-Oct-08 8:32 
AnswerRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? [modified] Pin
AlexeiXX35-Oct-08 9:13
AlexeiXX35-Oct-08 9:13 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 12:09
JUNEYT5-Oct-08 12:09 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX35-Oct-08 18:55
AlexeiXX35-Oct-08 18:55 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 23:20
JUNEYT5-Oct-08 23:20 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX36-Oct-08 4:52
AlexeiXX36-Oct-08 4:52 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT6-Oct-08 5:25
JUNEYT6-Oct-08 5:25 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX36-Oct-08 8:41
AlexeiXX36-Oct-08 8:41 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
saber1381200229-Oct-08 21:02
saber1381200229-Oct-08 21:02 
QuestionExam 528 Question Pin
AlexeiXX35-Oct-08 7:11
AlexeiXX35-Oct-08 7:11 
AnswerRe: Exam 528 Question Pin
NeverHeardOfMe5-Oct-08 7:24
NeverHeardOfMe5-Oct-08 7:24 
QuestionImage JPG Handler Pin
RX Maverick5-Oct-08 6:05
RX Maverick5-Oct-08 6:05 
AnswerRe: Image JPG Handler Pin
NeverHeardOfMe5-Oct-08 6:51
NeverHeardOfMe5-Oct-08 6:51 
QuestionPurging ASP.NET Cache within a HttpModule Pin
kentietjen5-Oct-08 4:35
kentietjen5-Oct-08 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.