Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Posted 19 January 2015 - 01:49 AM
I'm trying to build a website using ASP.NET MVC 5. I create models using Entity Framework and Visual Studio generates controllers and views automatically. That does most of my job. But I need one more thing.
In default views, there is Create New/Update/Delete links visible to everyone. I want my program to show those links only to registered users. I want unregistered users to see items only, not change them. How can I achieve that?
Posted 20 January 2015 - 02:58 AM Best Answer
You'll have to modify it yourself.
Disable them on the page load event, based on a condition of registered/unregistered user.