In my application, I need several tables showing a summary of data items.
Depending on the user's permissions, he should be able to VIEW, EDIT, or DELETE the associated data item.
Since the table is just a summary and the real records the grid items represent are spread over 20+ tables, I don't think I can use the built-in edit function. (Q1: is that correct? I have a DataSet providing the summary data and I also have a set of stored procedures performing the rather complex update- and delete-operations)
So I thought to give my grid 3 columns with Select buttons called View, Edit, Delete.
I assumed I'd be able to use the respective event handler to then simply call the appropriate stored procedures depending on which button the user clicked.
But these View, Edit, Delete buttons are not to be enabled at all times: depending on the users permissions, I want to e.g. disable the delete button on certain rows.
How do I do that?
Thanks so much!
s.
P.S. I am new to ASP & Prometheus - so I hope you can forgive me for asking basic questions.
Depending on the user's permissions, he should be able to VIEW, EDIT, or DELETE the associated data item.
Since the table is just a summary and the real records the grid items represent are spread over 20+ tables, I don't think I can use the built-in edit function. (Q1: is that correct? I have a DataSet providing the summary data and I also have a set of stored procedures performing the rather complex update- and delete-operations)
So I thought to give my grid 3 columns with Select buttons called View, Edit, Delete.
I assumed I'd be able to use the respective event handler to then simply call the appropriate stored procedures depending on which button the user clicked.
But these View, Edit, Delete buttons are not to be enabled at all times: depending on the users permissions, I want to e.g. disable the delete button on certain rows.
How do I do that?
Thanks so much!
s.
P.S. I am new to ASP & Prometheus - so I hope you can forgive me for asking basic questions.
