Telerik blogs

Latest

  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008
  • 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 ...
    December 23, 2008
  • 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? :)...
    December 20, 2008
  • 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...
    December 20, 2008
  • 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...
    December 19, 2008