This is a migrated thread and some comments may be shown as answers.

authentication/authorization with radgridview

3 Answers 27 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tai
Top achievements
Rank 1
Tai asked on 02 Sep 2010, 06:45 PM
Hi

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

Sort by
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
0
Tai
Top achievements
Rank 1
answered on 05 Sep 2010, 02:48 AM
Hi

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
Tags
GridView
Asked by
Tai
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Tai
Top achievements
Rank 1
Share this question
or