Data Binding Sluggish

4 posts, 0 answers
  1. Graham
    Graham avatar
    28 posts
    Member since:
    Feb 2011

    Posted 13 Feb 2015 Link to this post

    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 ?



  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 19 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Graham
    Graham avatar
    28 posts
    Member since:
    Feb 2011

    Posted 20 Feb 2015 in reply to Eyup Link to this post

    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
  5. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 26 Feb 2015 Link to this post

    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.

     
Back to Top