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

Data Binding Sluggish

3 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 14 Feb 2015, 05:46 AM
Hello,

This afternoon, I have been working with Visual Studio 2010 and Telerik controls.

My windows 8.1 computer suddenly became rather unstable - this normally happens when there are Windows Updates to be applied.
So I rebooted the machine and allowed the updates to be installed.

Since doing this, Telerik control databinds have become INCREDIBLY slow. For example, the following code:

DateTime startDate = new DateTime(viewDateStart.Year, viewDateStart.Month, 1);
DateTime endDate = startDate.AddMonths(1);

while ((int)startDate.DayOfWeek != 1) startDate = startDate.AddDays(-1);        // 0 = sunday
while ((int)endDate.DayOfWeek != 0) endDate = endDate.AddDays(1);               // 0 = sunday

while (startDate <= endDate) {
       dayList.Add(startDate);
       startDate = startDate.AddDays(7);
}

rptCalendar.DataSource = dayList;
rptCalendar.DataBind();

At the point of the data bind, the dayList item only contains 5 records. It takes a good 5 to 10 seconds to step over the DataBind() statement.

Similarly, RadGrid is also taking inordinate amounts of time to DataBind(). The data in this instance comes from a Linq call, but this too is virtually instant.

It seems that a Windows update has somehow crippled Telerik control data binding.

Has anyone heard of this happening ?



3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 19 Feb 2015, 08:11 AM
Hello Graham,

This is strange, indeed. I don't recall coming across such a report. Can you please test your application with the latest version of the controls (dev or trial) to see whether this will change anything?

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Graham
Top achievements
Rank 1
answered on 21 Feb 2015, 05:26 AM
Eyup,

We purchased our copy of Telerik a couple of years ago and it is now out of support period.
If I download the latest version, is it going to revert my version to a demo or trial version ?
This is a production system and I can't afford for this to happen.

Graham
0
Eyup
Telerik team
answered on 26 Feb 2015, 07:16 AM
Hello Graham,

You will need to have an active license in order to use the dev version of the controls:
http://www.telerik.com/purchase.aspx

However, you can use some kind of back-up or test sample similar to your real project in order to temporarily try out the trial version of the Telerik controls.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Graham
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Graham
Top achievements
Rank 1
Share this question
or