Hi,
I have Telerik grid control where the columns and rows are added in the code behind.
Everything works great - except the sorting. I need to have currency fields sort by currency/number fields sort properly instead of using string sort.
Any idea the best way to go about this is for the approach below is?
Thanks,
Chris
I have Telerik grid control where the columns and rows are added in the code behind.
Everything works great - except the sorting. I need to have currency fields sort by currency/number fields sort properly instead of using string sort.
Any idea the best way to go about this is for the approach below is?
Thanks,
Chris
DataTable dt = new DataTable();
dt.Columns.Add("Column1");
dt.Columns.Add("Cost");
string[] info = new string[2];
info[0] = "Row1_cell1";
info[1] = "23.00";
Session["DataTable"] = dt;
RadGrid1.DataSource = dt;
RadGrid1.DataBind();