Telerik blogs

Latest

  • Web

    How to add a right click context menu on a TextBox in Silverlight?

    How to add a right click context menu on a TextBox in Silverlight and also support simple editing commands, like Cut, Copy and Paste? This is pretty easy with RadContextMenu for Silverlight and I will show you now: First I declared a TextBox and set the RadContextMenu.ContextMenu attached property on it: <TextBox x:Name="TextContainer" AcceptsReturn="True" TextWrapping="Wrap" Text="Right click to open a fully functional context menu that depends on the selection and the clipboard content">    <telerikNavigation:RadContextMenu.ContextMenu>        <telerikNavigation:RadContextMenu ItemClick="ContextMenuClick" Opened="ContextMenuOpened" Closed="ContextMenuClosed">             <telerikNavigation:RadMenuItem Header="Cut" />             <telerikNavigation:RadMenuItem Header="Copy" />             <telerikNavigation:RadMenuItem Header="Paste" />         </telerikNavigation:RadContextMenu>     </telerikNavigation:RadContextMenu.ContextMenu> </TextBox> .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }   If you want to open the context menu with Right click, you need to make the Silverlight plug-in windowless. Otherwise, you should set the EventName and/or ModifierKey properties on RadContextMenu to configure it...
  • Desktop WinForms

    Smarter ComboBoxes inside a Telerik WinForms RadGridView (repost)

    Our friends from Falafel Software have posted some interesting tips in their blog on extending RadComboBox while used in RadGridView for WinForms.   Feel free to check it out here: Smarter ComboBoxes inside a Telerik WinForms RadGridView   Thanks, Rachel!...
  • Release

    The new installer of RadControls for ASP.NET AJAX

    Hi there, We're excited to present you the brand new installer of the RadControls for ASP.NET AJAX Q1 2009 SP2 suite. The installer passed all the internal tests successfully. I’d like to mention that we plan to add even more stuff for the official version (scheduled for Q2 2009). The new installer is still in beta testing phase and the official download is still using the “old” installer. Both installers extract exactly the same DLLs, Demos, Resources, Documentation, etc. So what’s inside: RadControls for ASP.NET AJAX Visual Studio Extensions are now shipped with the controls, allowing the creation, configuration and upgrade of a Telerik Web...
    May 28, 2009
  • Desktop WinForms

    Using RadComboBox for WinForms with LINQ

    LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with native language syntax for queries and provides class libraries to take advantage of these capabilities. LINQ is great in improving the readability and maintainability of your code.   Our controls work flawlessly with LINQ and we plan to prepare a series of blog posts on utilizing LINQ when programming with RadControls for WinForms. Following last year’s Emulating Paging with RadGridView for WinForms and LINQ with 1 million records, now it is time to give you a quick overview...
    May 27, 2009
  • Release

    RadControls for Silverlight/WPF Q2 2009 SP2

    Due to the constantly increasing interest in our Silverlight and WPF suites we saw the need of publishing one more service pack prior to the official Q2 release. A lot of improvements and new features are introduced following the vast amount of inquiries from you. All of the new stuff for both suites is ready for download under the users’ accounts, so download them, give them a try and you are more than welcome to share your thoughts and feedback. One new major feature is the newly added Localization support for RadUpload, RadTreeView, RadMediaPlayer, RadColorSelector, RadColorPicker and RadGridView control.   We also added a lot...
  • Web

    Sitefinity in the Spotlight Again – Gilbane San Francisco

    It’s again this time of the year when Sitefinity team starts packing for another Gilbane event in San Francisco, which as usual will take place in the Westin Hotel San Francisco, June 2-4. This year the focus is more than ever on the business impact of the content management solutions. The organizers have taken 4 major areas to classify discussions and presentations: Web Business & Engagement Managing Collaboration & Social Media: Internal & External Enterprise Content: Searching, Integrating & Publishing Content Infrastructure For the first time at this event...
  • Productivity Testing

    Changing the Docking Layout Simulation &ndash; WebUI Test Studio for Silverlight Preview

    As the WebUI Test Studio for Silverlight support is going to be released in a few months I was thinking of sharing a preview via a real demo simulation. If you are not familiar with RadDocking for Silverlight, we should emphasize it is one of the most complex Silverlight components out there supporting any layout you might be interested to have. You can find it building the layout of the Bug Tracker Sample Application for example. The video below shows a simulation of a user changing the layout by pure drag and drop actions. This is exactly what one ...
    May 25, 2009
  • Web

    Fair Winds and Following Seas

    This is Memorial Day weekend in the United States and today represents my last day as a Developer Evangelist for Telerik.  When I joined Telerik, I knew the company mostly from their outstanding reputation as a community supporting organization.  Since joining the company I have seen another side of Telerik that I think people may overlook.  The company slogan is “deliver more than expected” and sure, plenty of companies talk the talk, but very rarely do you see a company put it in action.  I am talking about people who have a real passion to deliver a product that exceeds...
    May 22, 2009
  • Web ASP.NET AJAX

    Gracefully degrade RadChart for Silverlight in ASP.NET

    In a recent webinar, I showed an example of how you can build a superior user experience in an ASP.NET website by using RadChart for Silverlight. The Telerik Silverlight chart has animations, rich rendering, and is much more visual appealing than the “static” RadChart for ASP.NET. But while the Silverlight chart is a great way to enhance data visualizations in your ASP.NET site, how do you handle users that don’t have Silverlight installed? One approach is to implement “graceful degradation.” Graceful degradation is an important and familiar principle in web design, and essentially it means this: if you build features into...
    May 22, 2009
  • Release

    Introducing the new RadDock for WinForms

    Below is the video from my webinar today.  If you are curious about the new RadDock control for the WinForms suite, this is a video you will want to check...
    May 22, 2009