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

Application is blocked while reading from DataSource

3 Answers 203 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
wizmagister
Top achievements
Rank 2
wizmagister asked on 08 May 2012, 03:25 PM
Hello, I could not find anything on this (hope it's not been answered somewhere already). 

I'm refresh my grid's content every minute by calling :
      GridControl.DataSource.read();

The server sometimes takes a long time to process the request, and this block the execution of the clien side application. The user cannot click on the grid or on any other controls. Once the information is received from the server, Kendo display it instantly. 

Is there a way to make the ".read()" async ?

Thanks !

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 11 May 2012, 02:54 PM
Hi Marc,

I tried to reproduce the issue locally, but to no avail - while the response is received I am able to click on the other controls outside of the Grid. Could you please send us a simple test project which reproduces the depicted issue? Thus I will be able to observe the problem and advice you further.

 

Greetings,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
wizmagister
Top achievements
Rank 2
answered on 14 May 2012, 02:46 PM
Hello, it will be hard for me to provide a test, but I'll see what I can do. 

So I undertand that the read function is ASYNC by default ? 

Thansk !
0
Iliana Dyankova
Telerik team
answered on 15 May 2012, 11:25 AM
Hello Marc,

Yes, that is correct - by default when you call the read() function of the dataSource an async request is used.

 

Greetings,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
wizmagister
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
wizmagister
Top achievements
Rank 2
Share this question
or