I have a field in my RadAjaxGrid where it will display a Link styled button with the text "Enable" or "Disable". I need to set this value on a per row basis based on the value of a DataBound field called "Active". How can I do this most efficiently?
How though in code would I get the value of a different cell in the row? The status of the row (Active or not) is a hidden field in the row. I did that intentionally so I could quickly make the decision on a row by row basis.
You can set the Active field as one of the DataKeyNames od the grid and then retrieve the datakeyvalue using code and based on the value set the text of the link button:
aspx: