Hi,
On my RadGrid, I bind text value to a method in the code behind to translate from ID to Name.
On my RadGrid, I bind text value to a method in the code behind to translate from ID to Name.
The main data is pulled from SQLDataSource and the translation that used in the methods are pulling from the XMLDataSource. But when I try to export it's only show ID instead of the name field.
aspx
Text='<%# getProdName( DataBinder.Eval(Container.DataItem,"ProdID").ToString()) %>'
code behind
protected string getProdName(string ID)
{
string strProduct = string.Empty;
.......
return strProduct;
}