Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
disable the navigation link when user is not authenticated
Posted

In Page_Load, see if the user is authenticated or not. If not, just hide, disable the controls you don't want to give access. Simple! Try!!
 
Share this answer
 
If you want to hide the links when user is not authenticated then you can bind it with control's visibility. Else you can bind it with isEnabled if you want to disable the control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900