Telerik blogs
  • Desktop WPF

    WPF How To: Endless scrolling of 2mil. records using BackgroundWorker and LINQ to SQL

    I’ve made small demo how to create easily endless scrolling of almost 2 mil. records (exact count is 1770607) using RadGridView for WPF. When you reach the bottom of the vertical scrollbar, more data will be retrieved on-the-fly from the data-base server: For asynchronous data loading you can use BackgroundWorker: BackgroundWorker worker = new BackgroundWorker(); worker.DoWork += new DoWorkEventHandler(worker_DoWork); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted); worker.RunWorkerAsync(); … void worker_DoWork(object sender, DoWorkEventArgs e) { NorthwindDataContext context = new NorthwindDataContext(); queryable = from o in context.Orders from od in context.Order_Details ...
    February 02, 2009
  • People

    RadControls Nominated for the Industry "Oscars"

    We are happy to share with you the good news that RadControls (ASP.NET AJAX, WinForms, Silverlight, and WPF) have been nominated as finalist in the "Libraries, Frameworks and Components" category in the 19th Annual Software Development Jolt Product Excellence Awards. Known as the “Oscars” of our industry, the Jolt Product Excellence and Productivity Awards are presented annually to showcase products that have "jolted" the industry with their significance and made the task of creating software faster, easier, and more efficient. RadControls were selected as a finalist among nearly 300 qualified nominations that were submitted online. In the next round...
    January 30, 2009
  • Web

    JavaScript Timing Events

    This article is taken from W3Schools.   With JavaScript, it is possible to execute some code NOT immediately after a function is called, but after a specified time interval. This is called timing events. It's very easy to time events in JavaScript. The two key methods that are used are: setTimeout() - executes a code some time in the future clearTimeout() - cancels the setTimeout() setTimeout() Syntax var t=setTimeout("javascript statement",milliseconds);  The setTimeout() method returns a value - In the statement above, the value is stored in a variable called t. If you want to cancel this setTimeout(), you can refer to it using the variable name. The first parameter of setTimeout() is a...
    January 30, 2009
  • Desktop WinForms

    Quickly Formatting Data with the RadGridView for WinForms

    Most developers have encountered a need at some point to modify how data is displayed to the user.  The RadGridView offers a very straightforward way to format data without having to modify the source data.  For example, you may not want the time displayed with a DateTime field, or you want to change the structure of the data to meet an internal standard.  The screenshot below shows three different fields which display the default DateTime format. This may be valid data, but it may not be useful to the user and we could potentially save screen real estate by eliminating...
    January 30, 2009
  • Web

    Optimization Tips: RadInput vs. RadInputManager

    In the Q3 2008 release, Telerik introduced a new control to the RadControls for ASP.NET AJAX suite called RadInputManager. Like RadInput, it is designed to enable you to provided textboxes to your users that give real-time validation and feedback based on the entered text. The big difference with RadInputManager, though, is that you don't have to add lots of Telerik Input controls on your page to get this real-time feedback. Instead, you can quickly convert "standard" ASP.NET TextBoxes to RadInput textboxes via the RadInputManager configuration- similar to how you can use RadAjaxManager to quickly ajaxify your page without littering it with...
    January 30, 2009
  • Desktop WPF

    WPF How To: Endless scrolling of 2mil. records using BackgroundWorker and LINQ to SQL

    I’ve made small demo how to create easily endless scrolling of almost 2 mil. records (exact count is 1770607) using RadGridView for WPF. When you reach the bottom of the vertical scrollbar, more data will be retrieved on-the-fly from the data-base server: For asynchronous data loading you can use BackgroundWorker: BackgroundWorker worker = new BackgroundWorker(); worker.DoWork += new DoWorkEventHandler(worker_DoWork); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted); worker.RunWorkerAsync(); … void worker_DoWork(object sender, DoWorkEventArgs e) { NorthwindDataContext context = new NorthwindDataContext(); queryable = from o in context.Orders from od in context.Order_Details ...
    February 02, 2009
  • People

    RadControls Nominated for the Industry "Oscars"

    We are happy to share with you the good news that RadControls (ASP.NET AJAX, WinForms, Silverlight, and WPF) have been nominated as finalist in the "Libraries, Frameworks and Components" category in the 19th Annual Software Development Jolt Product Excellence Awards. Known as the “Oscars” of our industry, the Jolt Product Excellence and Productivity Awards are presented annually to showcase products that have "jolted" the industry with their significance and made the task of creating software faster, easier, and more efficient. RadControls were selected as a finalist among nearly 300 qualified nominations that were submitted online. In the next round...
    January 30, 2009
  • Web

    JavaScript Timing Events

    This article is taken from W3Schools.   With JavaScript, it is possible to execute some code NOT immediately after a function is called, but after a specified time interval. This is called timing events. It's very easy to time events in JavaScript. The two key methods that are used are: setTimeout() - executes a code some time in the future clearTimeout() - cancels the setTimeout() setTimeout() Syntax var t=setTimeout("javascript statement",milliseconds);  The setTimeout() method returns a value - In the statement above, the value is stored in a variable called t. If you want to cancel this setTimeout(), you can refer to it using the variable name. The first parameter of setTimeout() is a...
    January 30, 2009
  • Desktop WinForms

    Quickly Formatting Data with the RadGridView for WinForms

    Most developers have encountered a need at some point to modify how data is displayed to the user.  The RadGridView offers a very straightforward way to format data without having to modify the source data.  For example, you may not want the time displayed with a DateTime field, or you want to change the structure of the data to meet an internal standard.  The screenshot below shows three different fields which display the default DateTime format. This may be valid data, but it may not be useful to the user and we could potentially save screen real estate by eliminating...
    January 30, 2009
  • Web

    Optimization Tips: RadInput vs. RadInputManager

    In the Q3 2008 release, Telerik introduced a new control to the RadControls for ASP.NET AJAX suite called RadInputManager. Like RadInput, it is designed to enable you to provided textboxes to your users that give real-time validation and feedback based on the entered text. The big difference with RadInputManager, though, is that you don't have to add lots of Telerik Input controls on your page to get this real-time feedback. Instead, you can quickly convert "standard" ASP.NET TextBoxes to RadInput textboxes via the RadInputManager configuration- similar to how you can use RadAjaxManager to quickly ajaxify your page without littering it with...
    January 30, 2009