Telerik blogs

Latest

  • Web jQuery

    Chainability (The Magic of jQuery)

    This article is taken from How jQuery Works.   jQuery uses an interesting concept called a "Builder" to make its code short and simple. The Builder pattern is an object-oriented programming design pattern that has been gaining popularity. In a nutshell: Every method within jQuery returns the query object itself, allowing you to 'chain' upon it, for example: $("a") .filter(".clickme") .click(function(){ alert("You are now leaving the site."); }) .end() .filter(".hideme") .click(function(){ $(this).hide(); ...
    February 07, 2009
  • Web

    The many localizations of RadEditor and RadSpell

    Did you know that there over 25 localized versions of RadSpell's dictionaries (30, to be exact)? Did you know there are over 10 localizations of RadEditor? When you're building a global site, you often need to support a number of languages, and thanks to Telerik's outstanding community, we are able to offer a huge range of localizations for the RadControls- especially those controls which depend heavily on localized strings. Not all controls require localizations- a RadSlider or ColorPicker, for example, communicate their UI without any built-in strings. Even controls like RadGrid don't have much need for localization. Other controls- like...
    February 06, 2009
  • Web ASP.NET AJAX

    RadTips, Episode 12: Sharing Toolbars with the RadEditor for ASP.NET AJAX

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Customizing Appointments with Resources in the RadScheduler for ASP.NET AJAX  Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX If you’re interested...
    February 06, 2009
  • Web

    Insert, Update, Delete with OpenAccess and RadGridView for Silverlight

    Download I will show you how easy is to integrate OpenAccess with RadGridView for Silverlight. I get the example from my colleague Dimitur and make it work with our RadGridView. If you are interested how to make OpenAccess to work with ADO.NET Data Services please read his blog series. To allow inserting new rows in RadGridView we should attach to AddingNewDataItem event. <telerik:RadGridView x:Name="gridView" Grid.Row="1" AddingNewDataItem="GridViewAddingNewDataItem" /> And provide the newly created object in it. private void GridViewAddingNewDataItem(object sender, GridViewAddingNewEventArgs e) { e.NewObject = new Supplier(); } Now we can insert new objects. Next steps is to save changes to the database. We should attach to GridViewRow.EditEndedEvent. this.gridView.AddHandler(GridViewRow.EditEndedEvent, new...
    February 04, 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