Hi,
I am binding RadGrid to an ObjectDataSource. I have a table in the database which controls who can make edits in the data (rather than using SQL security and pass though authentication).
How can I remove the Edit button based on some logic - which event do I have to capture.
Imagine I have a function called CheckAccess which returns true or false....
PseudoCode
Before DataGrid Renders
Is CheckAccess returning False Then
Hide Edit Buttons and Edit Columns
Else
Show Edit Buttons and Edit Columns
Thanks
I am binding RadGrid to an ObjectDataSource. I have a table in the database which controls who can make edits in the data (rather than using SQL security and pass though authentication).
How can I remove the Edit button based on some logic - which event do I have to capture.
Imagine I have a function called CheckAccess which returns true or false....
PseudoCode
Before DataGrid Renders
Is CheckAccess returning False Then
Hide Edit Buttons and Edit Columns
Else
Show Edit Buttons and Edit Columns
Thanks