Telerik blogs

Latest

  • Web

    A Tip to Play with RadControls for Silverlight Themes

    There are several built-in themes in RadControls for Silverlight that I’m sure the SL developers are pretty interested in. You can easily see how the themed controls look like after building a simple Silverlight application and setting any of the predefined themes. You shouldn’t miss the themes demo that allows applying a theme of the controls by a single button click. I’d like to give you another tip and at the same time to share something from the Telerik Silverlight kitchen. The tip gives you a chance to get quickly all the controls themed in a complex application containing tens ...
    May 27, 2021 2 min read
  • Release

    New support resources search facilities on telerik.com

    Greetings everyone, With the brand new look-and-feel of telerik.com we introduced for the landmark Q3 2008 release you probably noticed that the support resources searching capabilities have changed, too. Our aim was to expose intuitive and straight-forward means to browse the available resources based on their type and find the information/examples you need in a blink of an eye. In a nutshell, we would like each visitor to have the ability to search by product line and get a list of results with a leading indicator image designating the resource type (demo, help topic, knowledge base article, code library project, etc.). Since a...
    December 22, 2008 3 min read
  • Web

    How To: Strongly typed values for your TextBoxes

    Very often you need to parse/convert TextBox Text property value to some other type however I’ve never seen any universal approach for this so far… and I’m offering you one :) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI.WebControls; public static class TextBoxExtensions { public static T Value<T>(this TextBox textBox) { return (!String.IsNullOrEmpty(textBox.Text))? ChangeType<T>(textBox.Text) : default(T); } public static T ChangeType<T>(object value) { return (T)Convert.ChangeType(value, Nullable.GetUnderlyingType(typeof(T)) ?? typeof(T)); } } It's simple, isn't it? :)...
    May 27, 2021 1 min read
  • Web

    RadNavigation deep linking

    Deep linking is an unique feature of RadNavigation allowing you to use page navigation by simply changing the URL in the browser address bar. Now you can provide a link directly to every page from your application. Implementing this RadNavigation feature is just as easy as using the other navigation classes all you have to do is just follow the next steps:   1. Create Silverlight application. In order to use deep linking in page navigation scenario you have to make sure that any changes in the state the page is reflected to the browser’s address (bookmark). To do this you have two...
    May 27, 2021 2 min read
  • Desktop WPF

    WPF/ Silverlight: RadGauge Layout Composition

    Today I would like to highlight one of the newest controls added to the WPF / Silverlight control suites in November – the RadGauge control. RadGauge combines its rich assortment of radial, linear and numeric gauge types with very flexible layout composition abilities thus allowing you to attain a new level of data visualization quickly and easily. Let us discuss the basics of the layout composition and how it is implemented in the gauge control. There are three levels of controls that participate in the layout: RadGauge LinearGauge / RadialGauge LinearScale / RadialScale / NumericScale   RadGauge is the top level class but as far as the control...
    May 27, 2021 3 min read
  • Web

    RadControls for Silverlight Futures

    RadDocking With the SP2 release of RadControls for Silverlight Q3 2008 we are introducing a community preview edition of the RadDocking control for Silverlight. You can find the build under your account at telerik.com. The download files containing the build are called Futures (RadControls_for_Silverlight_2008_3_1217_TRIAL/DEV_Futures.zip and RadControls_for_Silverlight_2008_3_1217_TRIAL/DEV_Futures.msi).     You can check the online demos at: RadDocking First Look RadGridView First Look The features that are currently supported by this CTP edition of the RadDocking tool are listed below: Dockable Layouts Percentage or Absolute Height of the containers MinWidth/Width/MaxWidth constraints MinHeight/Height/MaxHeight constraints Resizable Bars AutoHideAreas DocumentHost DockingPanel SplitContainers Nested split containers Horizontal/Vertical Orientation Initial Position PaneGroups AutoHide per group Close per group Title Panes Pinnable Closable     RadGridView Beta The previously released community...
    May 27, 2021 2 min read
  • Release

    RadControls for Silverlight Q3 2008 SP2

    We are pretty excited with this service pack release as it comes along with the Beta edition of the RadGridView control and the first community preview of the RadDocking tool for Silverlight. You can learn more about these "Futures" build in the following blog post: RadControls for Silverlight Futures Below you can find detailed information about all the changes included in the latest service pack release of RadControls for Silverlight. We will much appreciate your feedback on the progress we made with this SP release. All your comments are  welcome.   To download the files please log into your telerik.com account. To see the demos follow the...
    May 27, 2021 2 min read
  • Web

    How do I pause execution in JavaScript?

    The current article is taken from javascript.faqts Contributors: ha mo, Daniel LaLiberte, Brent Boyer, Martin Honnen, mercury rising,   There is no true wait, sleep, or similar function in either the core JavaScript language or in client side JavaScript. Client side JavaScript however provides     setTimeout('js code here', delayInMilliseconds) which allows you to schedule execution of piece of script and setInterval('js code here', intervalInMilliseconds) which allows you to periodically execute a piece of script. So if you wanted (pseudo code) statement1;  wait (someDelay);  statement2;  you would stuff the code into functions: function statement1 () {      // your code here  }  function statement2 () {      // your code here  }    and call statement1();  setTimeout('statement2()', someDelay);      If you wanted (pseudo...
    May 27, 2021 3 min read
  • Release

    A new series of blog posts coming up

    Hi all,   Telerik’s support is always focused at satisfying customer needs – if you have used our controls for some time now, I guess you have already found that out. If you have just started getting familiar with our products – give us a try ;)   Our support services however, being targeted on our products only, cannot provide you with custom solutions, although we try to help as much as possible. That is why we decided to start a new series of blog posts aimed at different aspects of ASP.NET development. The content is gathered from various newsgroups, blog posts, tutorials in...
    May 27, 2021 2 min read
  • Desktop WPF

    Get Organized with the RadPanelBar

    If you have ever used Microsoft Outlook or Windows Explorer, you have seen the use of panels to organize content.  See Outlook 2007 screenshot below: This is a very useful method of organizing information that you want available to the user all the time.  Panels can house different functionality like managing options, navigating the application or displaying important details.  You can incorporate this same functionality in your applications using the RadPanelBar.  To get started, I thought it might be nice to create a Outlook like PanelBar with a calendar inside.  My goal is not to recreate what Outlook has done, but...
    May 27, 2021 2 min read