Telerik blogs
  • Web

    Using the RadDocking control with Prism

    Prism can be thought of as a set of libraries that help Silverlight applications to be scalable and testable. It has a number of features (modularity, view regions and commanding) that help with this. A common scenario is to use Prism with a Docking control. You may want to create a shell with a Docking control and to mark some of the pane groups as regions and to use panes (or their content) as views. In this article we will create a sample application that accomplishes this scenario with the RadDocking control for Silverlight. We will need one additional step to...
  • Release

    Watch out the flow is coming! – Telerik CoverFlow for Silverlight 3

    If you think the light from the Silverlight 3 release has already gone dim, then you should wait to see the new blast that the Telerik team has prepared just to make sure that once again everybody is looking in the same direction. In this article I will introduce one of the new controls that are already extending the enormous capabilities of Silverlight 3.         One of the buzz words that came up with Silverlight 3 is the Plane Projection that allows you to render UI element in a plane projection. We have been passionately waiting for this and...
    August 28, 2009
  • Productivity Reporting

    Reporting: Using connectionStrings from configuration file

    We've been asked several times, what is the right way of using connection strings from the configuration file, so that Telerik Reports would work both in run time and design time. The answer can be found in this new Knowledge Base article: Using connectionStrings from configuration file It is worth mentioning that the Report and Data Source Wizards do this automatically when instructed to save the selected connection string in the config file. A working solution using the approach from the latter article can be found in our Visual Studio examples. Enjoy! ---------------- Steve...
    August 28, 2009
  • Productivity

    LINQ Tip of the week: System.String support

    Welcome back for some more information about the Telerik OpenAccess ORM support for LINQ. Today we provide a brief list of the System.String properties and methods that are supported by our LINQ implementation. When any of the below listed methods are used in a LINQ query, Telerik OpenAccess ORM translates the method call to equivalent SQL which is then executed on the server. Please note that the table lists the MS SqlServer specific SQL translation.   Properties String.Length len (string_expression)   Methods String.CompareTo expression = expression String.Contains match_expression LIKE pattern String.EndsWith match_expression LIKE pattern String.Equals expression = expression String.IndexOf(String) CHARINDEX (expression1,expression2, –1) String.IndexOf(String,Int32) CHARINDEX (expression1,expression2, start_location) String.Insert CASE   WHEN( LEN(ISNULL(column_name,'')) = start_index) THEN ISNULL(column_name,'') + value ...
    August 28, 2009
  • Web

    TreeView in ComboBox, take 3 (Silverlight 3, WPF and RadControls)

    In my previous article on the same topic I described how to replace the ItemsPresenter of RadComboBox with a RadTreeView. It was as simple as updating the control template. Unfortunately the controls’ selection synchronization relied on a bug in RadComboBox that we recently fixed – the control was able to have a value in its SelectedItem property, that was not present in its Items collection. Now, in order to workaround this new problem, we have to either inherit RadComboBox, or create an attached behavior that will allow us to get the SelectedItem of the inner RadTreeView. The code you have to write...
    August 28, 2009
  • Web

    Using the RadDocking control with Prism

    Prism can be thought of as a set of libraries that help Silverlight applications to be scalable and testable. It has a number of features (modularity, view regions and commanding) that help with this. A common scenario is to use Prism with a Docking control. You may want to create a shell with a Docking control and to mark some of the pane groups as regions and to use panes (or their content) as views. In this article we will create a sample application that accomplishes this scenario with the RadDocking control for Silverlight. We will need one additional step to...
  • Release

    Watch out the flow is coming! – Telerik CoverFlow for Silverlight 3

    If you think the light from the Silverlight 3 release has already gone dim, then you should wait to see the new blast that the Telerik team has prepared just to make sure that once again everybody is looking in the same direction. In this article I will introduce one of the new controls that are already extending the enormous capabilities of Silverlight 3.         One of the buzz words that came up with Silverlight 3 is the Plane Projection that allows you to render UI element in a plane projection. We have been passionately waiting for this and...
    August 28, 2009
  • Productivity Reporting

    Reporting: Using connectionStrings from configuration file

    We've been asked several times, what is the right way of using connection strings from the configuration file, so that Telerik Reports would work both in run time and design time. The answer can be found in this new Knowledge Base article: Using connectionStrings from configuration file It is worth mentioning that the Report and Data Source Wizards do this automatically when instructed to save the selected connection string in the config file. A working solution using the approach from the latter article can be found in our Visual Studio examples. Enjoy! ---------------- Steve...
    August 28, 2009
  • Productivity

    LINQ Tip of the week: System.String support

    Welcome back for some more information about the Telerik OpenAccess ORM support for LINQ. Today we provide a brief list of the System.String properties and methods that are supported by our LINQ implementation. When any of the below listed methods are used in a LINQ query, Telerik OpenAccess ORM translates the method call to equivalent SQL which is then executed on the server. Please note that the table lists the MS SqlServer specific SQL translation.   Properties String.Length len (string_expression)   Methods String.CompareTo expression = expression String.Contains match_expression LIKE pattern String.EndsWith match_expression LIKE pattern String.Equals expression = expression String.IndexOf(String) CHARINDEX (expression1,expression2, –1) String.IndexOf(String,Int32) CHARINDEX (expression1,expression2, start_location) String.Insert CASE   WHEN( LEN(ISNULL(column_name,'')) = start_index) THEN ISNULL(column_name,'') + value ...
    August 28, 2009
  • Web

    TreeView in ComboBox, take 3 (Silverlight 3, WPF and RadControls)

    In my previous article on the same topic I described how to replace the ItemsPresenter of RadComboBox with a RadTreeView. It was as simple as updating the control template. Unfortunately the controls’ selection synchronization relied on a bug in RadComboBox that we recently fixed – the control was able to have a value in its SelectedItem property, that was not present in its Items collection. Now, in order to workaround this new problem, we have to either inherit RadComboBox, or create an attached behavior that will allow us to get the SelectedItem of the inner RadTreeView. The code you have to write...
    August 28, 2009