Hello. I am using Telerik v2014.2.715.40
I have an unbound grid where I replace 2 columns with CommandButton columns. One of the column is very straightfoward, but the other needs a slightly more complicated behavior.
The column I am replacing has a Yes or No value, and I want the button to have the current value of the cell written on it. Pressing the button needs to change the textto the other value, as well as save it in the database.
I am trying to use the initial column creation, or CellFormatting to set the button' text, but no luck.
I am using CommandCellClick to actually change the current value as well as save it in the database, but I am having a hard time handling the object's value without getting NULLs.
Thanks in advance.
Creating the column:
GridViewCommandColumn commandColumn2 =
//commandColumn2.UseDefaultText = true;
//commandColumn2.DefaultText = "z";
commandColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;