I've been struggling to find a simple example or guidance to my problem. Basically, I have one dataset. This table has three columns,
- Document Name (string)
- Document Owner (string)
- Permission (int)
I want to bind this DataTable to a AspxGridView. However, I want the final column to be bound to a AspxComboBox so that:
- If Permission = 1 then bind ComboBox with item A
- If Permission = 2 then bind ComboBox with items A and B
- If Permission = 3 then bind ComboBox with items A, B and C
How can I achieve this? A lot of the samples I've found talk about the AspxGridView being in edit mode. The point here is that I'm not actually editing the grid. All I want to do is do a postback on ComboBox change to do some action.