Hi there,
I'm trying to check what a value is on a column. If the value for a record is say "Approved" within column "Status" then I want to disable the button I have in my template column.
I have something similar with headertext.
Now how do I check the actual value the record? I imagine it's something with the RadGrid1_ItemCreated event.
Please help thanks :)
I'm trying to check what a value is on a column. If the value for a record is say "Approved" within column "Status" then I want to disable the button I have in my template column.
I have something similar with headertext.
| protected void RadGrid1_ColumnCreated(object sender, Telerik.Web.UI.GridColumnCreatedEventArgs e) |
| { |
| switch (e.Column.HeaderText) |
| { |
| case "DetailId": |
| e.Column.Display = false; |
| break; |
| } |
| } |
Now how do I check the actual value the record? I imagine it's something with the RadGrid1_ItemCreated event.
Please help thanks :)