We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Busy Indicator in separate process

Gear sirs.

Busy Indicator is displayed when perform data operations in the control, and the follow code is for enable/disable the indicator:
Me.sfDataGrid1.ShowBusyIndicator = True

Is possible call/show the indicator with a searate process from the control, maybe call from a button?


Regards.

1 Reply

JP Jagadeesan Pichaimuthu Syncfusion Team February 11, 2019 07:27 AM UTC

Hi Leonelo, 

Thanks for using Syncfusion product. 

You can able to achieve your requirement by using the BusyIncidator control. We have prepared the simple sample to show the busy indicator with button click operations below, 

void ExportToPDFButton_Click(object sender, System.EventArgs e)  
{  
            busyIndicator.Show(this.sfDataGrid1.TableControl);  
  
            var options = new ExcelExportingOptions();  
            options.CellExporting += Options_CellExporting;  
            var excelEngine = sfDataGrid1.ExportToExcel(sfDataGrid1.View, options);  
            var workBook = excelEngine.Excel.Workbooks[0];  
            workBook.SaveAs("Book.xlsx");  
            System.Diagnostics.Process.Start("Book.xlsx");  
  
            busyIndicator.Hide();  
}  



You can get more details about the busy indicator from below link, 


Let us know whether this helps also if you need any further assistance on this. 

Regards, 
Jagadeesan

Loader.
Up arrow icon