Telerik blogs

Latest

  • Web ASP.NET AJAX

    RadScheduler - Localization with resource files

    This movie shows how to create custom localization with resource files. The resource file allows you not only to set a specific culture but also to customize the localization attributes such as HeaderDay, HeaderMonth, etc...For more information, refer to Using Global Resource Files help topic. ...
    November 01, 2007 1 min read
  • 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 1 min read
  • Release

    New online resources for the past three weeks (09/24/2007 - 10/14/2007)

    Below is a summary of the new online resources available for our ASP.NET controls: RadGrid Code library entries: Update RadGrid with outside edit form: http://www.telerik.com/community/code-library/submission/b311D-bacmhm.aspx Excel-like RadGrid: http://www.telerik.com/community/code-library/submission/b311D-babbkh.aspx  RadInput Help topics: RadInput > General Functionality > Increment Settings: http://www.telerik.com/help/aspnet/input/?Increment_Settings.html 
    October 19, 2007 1 min read
  • 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 1 min read
  • 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...
    May 27, 2021 2 min read
  • Release

    New online resources for the past two weeks (09/10/2007 - 09/23/2007)

    Below is a summary of the new online resources available for our ASP.NET controls:RadGrid Code library entries: Column expand/collapse:http://www.telerik.com/community/code-library/submission/b311D-hmdmg.aspx Filtering boolean values with images in the filtering item:http://www.telerik.com/community/code-library/submission/b311D-hmhat.aspx
    September 28, 2007 1 min read
  • 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 1 min read
  • 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...
    May 27, 2021 3 min read
  • Web

    How wrong custom ViewState handling may harm more than help

    As some of us have found last Friday this article in MSDN about how to store your ViewState in Session is totally wrong. Using the Reflector you can find very easily that ControlState will be erased if you access more than once PageStatePersister. The correct implementation should be:      PageStatePersister _pers;      protected override PageStatePersister PageStatePersister      {          get          {              if (_pers == null)                  _pers = new SessionPageStatePersister(this);              return _pers;          }      } How about overriding SavePageStateToPersistenceMedium / LoadPageStateFromPersistenceMedium? If you do this you should update your PageStatePersister or you will miss the ControlState once again. Example: protected override object LoadPageStateFromPersistenceMedium() {      object state = THESTATE;      if (state is Pair)      {          Pair statePair = (Pair)state;          PageStatePersister.ControlState =...
    May 27, 2021 1 min read
  • Desktop WinForms

    RadControls for WinForms last minute controls

    RadControls for WinForms Q2 is live! It has been exhaustive, but motivating 4 months since the last major release and I am very happy to announce the new version of our innovative Windows Forms components. As I had promised the last time, I will be providing you with interesting and helpful information about the WinForms suite. With Q2 out of the door, I will turn to two of the basic controls which we have included in this release, literally at the last moment, namely RadBreadCrumb and RadDateTimePicker. RadBreadCrumb is a navigation control directly related to the well-known to the community RadTreeView for...
    February 19, 2025 2 min read