can you show me a sample of demonstrating how to restrict a certain user to view/delete/add/update row in the radgridview? assuming we have 3 kind of user"anomynous (can't view the radgrid data), registered (can only view the radgrid data), admin(can do anything to the radgrid)"
thank you
3 Answers, 1 is accepted
0
Vlad
Telerik team
answered on 03 Sep 2010, 06:52 AM
Hello,
You can use IsReadOnly property of the grid depending on the user to achieve your goal.
Best wishes,
Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
the IsReadOnly will let me do that. However, that one is only on the client side . I want to have something more secure , which should be on the server side code.
something likes [requireauthentication] attribute of RIA services on the server operations.However, i don't know how to access the Insert, Delete, Update of the radgridview.
0
Accepted
Vlad
Telerik team
answered on 07 Sep 2010, 06:46 AM
Hello,
You can work directly with the RIA service methods instead the grid.
Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items