Telerik blogs

Latest

  • 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
  • Release

    New online resources for the past four weeks (09/01/2008 - 09/26/2008)

    Below is a summary of the new online resources available for our ASP.NET AJAX controls/WinForms controls and Sitefinity CMS: RADCONTROLS FOR ASP.NET AJAX RadGrid Code library entries Dual Listbox functionality: http://www.telerik.com/community/code-library/submission/b311D-bkhmgg.aspx RadGrid Items reorder using DB backend: http://www.telerik.com/community/code-library/submission/b311D-bgbdak.aspx Help topics Persisting selected items client-side with sorting/paging/filtering/grouping: http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html get_dataItem() method: http://www.telerik.com/help/aspnet-ajax/grid-get-data-item.html findElement() method (not uploaded yet) get_isFilterItemVisible() property (not uploaded yet)
    September 30, 2008 1 min read
  • Release

    What's cooking in the WinForms team?

    We have served many dishes since we opened the WinForms restaurant, and I am delighted to say that our customers very much like the direction we are heading. Today I'm very excited to give you a taste of some really appetizing desert bites straight out of the WinForms kitchen! Needless to say, we get many requests for old tastes with new flavors, but this particular one stands out as a jalapeño sticking out of a cheese cake. Yes, we have been working on a new favorite desert recipe - RadScheduler for WinForms - a scheduler as tasty as we all want...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    CSS >> Emulating border-color: transparent in Internet Explorer 6

    Fortunately, Internet Explorer 7 supports border-color: transparent, but still, there are hardcore IE6 users and it seems that they will never update their browsers. This post is targeted to the developers that care and dare to make their websites crossbrowser. Thanks to a less known Internet Explorer CSS filter, the transparent border in Internet Explorer 6 can be easily achieved. Consider the following lines of CSS code: .testDiv { width: 200px; height: 200px; border: solid 10px transparent; } It works correctly under Internet Explorer 7, FireFox, Opera and Safari, while Internet Explorer displays a solid black border around .testDiv. To put it to work with IE6, we will create another rule, that is visible only in version...
    May 27, 2021 1 min read
  • Release

    Microsoft Unveils Next Version of Visual Studio and .NET Framework

    If you are passionate about technology like I am, especially from Microsoft you will most probably find it interesting that MS revealed the new versions of Visual Studio and the .NET Framework will be 2010 and 4.0 respectively. A screenshot of Visual Studio 2010 is also available:   It seems that Microsoft is looking to help developers produce high quality software in a more agile manner by introducing tools like the Microsoft Test Runner and the new Test Impact View window in this release of Visual Studio.   You can find the official announcement here and more details on MSDN here. I am sure that you have many questions...
    May 27, 2021 1 min read
  • Release

    Silverlight2 RC0 is out!

    Rad Controls For Silverlight update is coming too.   Today Scott Guthrie announced the availability of the Release Candidate 0 of Microsoft Silverlight2 plugin. Read His post here.   A full coverage of what has been changed since the beta2 release is available on the Ashish Shetty blog.   For me one of the biggest changes is the availability of the SnapsToDevicePixels property . Now our Silverlight applications will not look blurry anymore. Awesome!   The other important update for us are the improvements on the Accessibility and UI automation. We know how important the accessibility is for you - so, the news here is that all our controls will implement the...
    May 27, 2021 2 min read