I have radbutton that send many emails with attachment to gmail
I put in radbutton click event
but not showing the RadBusyIndicator
I don't know why
1 Answer, 1 is accepted
answered on 18 May 2016, 07:56 AM
I suppose the BusyIndicator is not shown as its IsBusy property is called in the same method (the button click event) in which the UI thread is frozen. As any UI control, RadBusyIndicator cannot be shown while the UI thread is frozen.
In order to avoid this you could use a BackgroundWorker to show and hide the control. The approach is demonstrates in RadBusyIndicator First Look example in our WPF Demos. You could also take a look at the following topic which also demonstrates the usage of RadBusyIndicator with a BackgroundWorker: Integrate with services and a RadWindow.
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.