Telerik blogs

Latest

  • Web ASP.NET MVC

    Telerik RadControls in Microsoft ASP.NET MVC

    To continue with my previous blog post about RadGrid for ASP.NET AJAX in Microsoft ASP.NET MVC, I've made another example how to use RadControls for ASP.NET AJAX as pure client-side components in this environment. The biggest challenge here is the ScriptManager and scripts registration in general. By default the creation of client-side components is so tightly coupled with the ajax functionality (PageRequestManager) that the only way to enable this is to inherit from ScriptManager (or RadScriptManager) and build everything manually: protected override void Render(HtmlTextWriter writer) {      foreach (RegisteredScript script in GetRegisteredClientScriptBlocks())      {          if (Page.Items[script.Key] == null)          {              Page.Items[script.Key] =...
    October 02, 2008 1 min read
  • Web

    Loading Images in Silverlight2 Applications

    One question we receive very often from our customers, is how to load an image, from different relative folders in Silverlight. This is a little bit tricky and it is different from the way it is working in HTML. I found this great article, from the Katrien's MSDN blog, about all the possible scenarios that you may have. Here is the reference: http://blogs.msdn.com/katriend/archive/2008/04/27/different-ways-for-loading-images-and-files-in-silverlight-2-applications.aspx   Enjoy!...
    May 27, 2021 1 min read
  • People

    HDC Follow-Up

    I just arrived back home from the Heartland Developer's Conference in Minneapolis, MN. Besides a stomach bug I caught on day two and the near-death experience on the flight home, I had a great time. HDC was packed with 30 sessions over two days and was attended by more than 200 developers, most of whom were locals. There were a lot of great talks and it was fun to rub shoulders with the .NET developers of the Twin Cities. I also really enjoyed meeting some great Telerik customers and hearing all the things you are doing with our controls. All-in-all, I'd...
    October 02, 2008 1 min read
  • Release

    RadControls for Silverlight 2 RC0

    The latest RadControls for Silverlight 2 have been uploaded to the Telerik site. The files can be downloaded form the Client.Net accounts. This version is entirely compatible against MS Silverlight 2 RC0 that was launched a few days ago.   Still to come in the following days: Detailed release notes, all the breaking changes, what's new in the suite.
    October 01, 2008 1 min read
  • Desktop WinForms

    Show Us Your WinForms Skills and Win $500

    If you have been developing applications with Telerik RadControls for WinForms and are dying to show them off, now is your chance! What's more, if the Telerik community decides you have the bragging rights, you will win a $500 Amazon Gift Certificate. All you need to do to participate in the new RadControls for WinForms Challenge is to send us at least 3 screenshots and a short (up to two paragraphs) description of your WinForms application. The first 50 contestants who meet the contest requirements and are approved as finalists will receive a complimentary prize of 5,000 Telerik points that can be used towards your next purchase. We're very interested to...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    RadComboBox + jQuery

    Do you think that RadComboBox animations are boring? We can spice them up with a little  help from jQuery. Let's make the dropdown fade for example - This can be done very easily using the fadeIn, fadeTo and fadeOut jQuery methods. You can download a sample project for more details. We can also animate the text of the items. All you need  to do is to animate the padding-left css attribute of the item's DOM element. The following script shows how the text can be moved when you hover over the item: $('.rcbItem') .mouseover(function(){          $(this).stop().animate({paddingLeft:"54px"}, {duration:500}); }) .mouseout(function(){          $(this).animate({paddingLeft:"4px"}, {duration:500}); })
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    RadTreeView for ASP.NET Ajax - Binding to LinqDataSource

    Since the Q2 2008 SP1 release RadTreeView, RadMenu, RadPanelBar and RadTabStrip support hierarchical databinding to the LinqDataSource control. In this blog post I will demonstrate how to do this with RadTreeView (the steps are identical for the aforementioned controls). Create a new Web Site in Visual Studio 2008 and copy the Northwind database in your App_Data folder Add a new "Linq to SQL classes" item named "Northwind.dbml"
    May 27, 2021 1 min read
  • People

    Free RadWebinar on RadGridView for WinForms Tomorrow

    In case you have not yet registered for the new episode of the RadWebinar series on RadGridView for WinForms, this is your last chance! The free two-hour session will demonstrate how to use the RadGridView for WinForms component, including connecting to a database to display and edit data, column types, high-performance binding features, etc... It will be taught by Lino Tadros, President and CEO of Falafel Software. The webinar will be conducted at GoToWebinar, and will take place tomorrow, Wednesday, October 1, 12:30pm—2:30pm EDT. Full details about the registration, along with the webinar materials and phone number to dial in, will be sent to all registered attendees before...
    May 27, 2021 1 min read
  • Desktop WPF

    WPF Shaders continued …

    Last time I asked if you find the pixel shaders useful in WPF applications. There were a couple of answers giving links to online resources, but no one did actually say they use shaders or find any practical application. Most of the examples in the internet target transition effects and I currently can’t think of any other practical application. Why so? Well, transition effects are good way to veil long loading times without using WPF transitions/animations, i.e. without increasing the CPU load (assuming effects are hardware accelerated). Applying effects constantly, on the other hand, will require rendering the scene all...
    May 27, 2021 2 min read
  • Web ASP.NET MVC ASP.NET AJAX

    How To: Telerik RadGrid for ASP.NET AJAX with ASP.NET MVC

    I've made small example how to use RadGrid for ASP.NET AJAX in Microsoft ASP.NET MVC:   The key here is to inherit from RadGrid and call explicitly desired grid commands. Let's say you want to edit particular record: 1) Create a template column and add this to the ItemTemplate: <%# Html.ActionLink("Edit", "RadGridCommand", new { ControlID = MyGrid1.ID, CommandName = "Edit", CommandArgument = Container.ItemIndexHierarchical }) %>   2) Now handle this in your controller: public ActionResult RadGridCommand(string ControlID, string CommandName, string CommandArgument) {     ViewData["ControlID"] = ControlID;     ViewData["CommandName"]= CommandName;     ViewData["CommandArgument"] = CommandArgument;     return View("Index"); }   3) Override OnPreRender in inherited class and call explicitly the grid...
    May 27, 2021 1 min read