I am successfully loading data in the Unigrid in the following manner:
DataSet ds = new DataSet();
ds = Database.data(p, q);
grdData.DataSource = ds;
When data is present in the Unigrid I am clicking on Action Menu and then on Export To Excel but it shows a pop-up with message: There are no data to export, please check your export settings.