Telerik blogs

Latest

  • Web ASP.NET AJAX

    Setting appearance using Themes

    RadControls "Prometheus" can be easily configured to use ASP.Net 2.0 Themes the same way you would do for the ordinary ASP.Net controls. A chosen theme can be shared among multiple controls and pages and thus make group re-configuration extremely easy. You can see the following video which demonstrates how to configure RadEditor, RadWindow and RadCalendar "Prometheus" controls to use the WebBlue skin from a Theme: Setting Appearance Using Themes.
    October 24, 2007
  • Web ASP.NET AJAX

    Automatic operations with RadGrid and SqlDataSource control

    Although many of you are probably familiar with this project from the code library section on our site, I thought it is worth the effort to demonstrate once again in public how easily (with literally zero lines of code) you can configure RadGrid to perform automatic data-editing operations and refresh the data in the database directly. The video I have prepared for this purpose is available in this section on our site, below is the direct link: http://www.telerik.com/ClientsFiles/product.videos/32/ On a side note, for Martin and all the others who had problems with the screen size of the Excel-like filtering video posted before, I am pleased to...
    October 17, 2007
  • Web

    Shortcut on Silverlight 1.1

    Here at Telerik we are constantly working with the new cutting edge technologies. As Silverlight 1.1 alpha hit the road we were keen to research all the new things we can do with this new technology ... But there was one little problem - the lack of help and documentation. Our experience with WPF help us a lot to get into the new technology, but Silverlight is a new platform and it has its differences from WPF. So when we were contacted by the O'Reilly to write a book for Silverlight 1.1 we decided that this will be a very good opportunity...
    October 17, 2007
  • Web ASP.NET AJAX

    Localizing RadEditor Prometheus by Using Global Resource Files

    The Localization of the new RadEditor "Prometheus" now works with resource files and not with XML files as before. This change was made as resources represent the standard ASP.NET 2.0 mechanism for doing this with extensive built-in support in Visual Studio. As a result, it is a much easier approach for the developer in creating or changing a localization. Another major advantage of this is it is also much easier to deploy and maintain. The following movie, available at http://www.telerik.com/ClientsFiles/product.videos/30/, provides guidance how to make your own localizations by using global resource files. More information is also available in the following forum sticky note: Localizing RadEditor by Using Global Resource...
    September 28, 2007
  • Web ASP.NET AJAX

    On dynamically creating server controls

    Every once in a while I see code which looks like that:public class MyCustomControl : WebControl{     protected override void Render(HtmlTextWriter output)     {          SomeControl someControl = new SomeControl ();          someControl.ID = "SomeID";          someControl.SomeProperty = "SomeValue";          someControl.RenderControl(output);    }}There are two problems with this code: The child control is instantiated in the Render methodFrom control execution lifecycle’s point of view it is too late to instantiate controls in the Render method. Even if you add them in the controls collection some features won’t work just because it’s too late – postbacks, viewstate to name a few. The child control is never added to the controls collection. This means...
    September 28, 2007