This is a migrated thread and some comments may be shown as answers.

GridView isBusy while pasting

1 Answer 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
martin bertram
Top achievements
Rank 1
martin bertram asked on 18 Oct 2011, 08:04 PM
Hi,

Is it possible to have the GridView set to isBusy while a pasting operation is underway?  Sometimes it takes a few seconds to complete a large paste and it'd be nice to be able to have it show the user it is busy.  Thanks

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 20 Oct 2011, 10:29 AM
Hi Martin Bertram,

Generally, you cannot set the thread as busy  while pasting as this events work exactly in this thread. What you can try to notify the end user that the grid is busy is to display a simple window with the massage you want. For example:

RadWindow window;
        public MainWindow()
        {
            InitializeComponent();
            window = new RadWindow() { Content = "I am pasting right now", WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner };
        }
 
        private void clubsGrid1_Pasting(object sender, GridViewClipboardEventArgs e)
        {
            window.Show();
        }
 
        private void clubsGrid1_Pasted(object sender, Telerik.Windows.RadRoutedEventArgs e)
        {
            window.Close();
        }

I hope this helps. 

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
martin bertram
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or