Telerik blogs
  • 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...
    September 30, 2008
  • 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
  • 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...
    September 30, 2008
  • 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...
    September 30, 2008
  • 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...
    September 30, 2008
  • 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...
    September 30, 2008
  • 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
  • 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...
    September 30, 2008
  • 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...
    September 30, 2008
  • 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...
    September 30, 2008