Telerik blogs
  • Web ASP.NET MVC

    ASP.NET MVC - Passing JSON to controller actions and populating controls on demand

    As you probably know some of our controls support web service load on demand (a.k.a. client-side databinding). Also in ASP.NET MVC we can call controller actions via Ajax. In this blog post I will show you how to populate RadComboBox and RadTreeView on demand by using a controller action which returns JsonResult. Let's start with RadComboBox: Configure RadComboBox for Load on Demand I have added the RadComboBox control to the default Index.aspx view and configured it like this: <telerik:RadComboBox runat="server" ID="RadComboBox1" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EmptyMessage="Type here ..." Height="200px"> <WebServiceSettings Path="Home" Method="LoadItems" /></telerik:RadComboBox> .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; } The important thing here is that RadComboBox is configured as if it were using a web service...
    April 01, 2009 5 min read
  • Release

    Two New RadTips Episodes Featuring the RadGrid for ASP.NET AJAX

    I’m happy to announce two new episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out on Telerik TV. Each is only a few minutes long and covers a specific feature of the RadControls. Grouping with the RadGrid In this episode I show ASP.NET AJAX developers how to using the built-in grouping feature of the RadGrid. I start by demonstrating how you can enable dynamic grouping by setting just a couple of properties, allowing users to group data at runtime. Next I demonstrate how to...
    March 26, 2009 1 min read
  • Web ASP.NET AJAX

    Create Your Own T4 Item Template with “RadControls for ASP.NET AJAX VS Extensions” - Part 1

    When you add a new page to your Web site, do you often find yourself cutting and pasting from another page to get started? If you're spending more time importing controls and setting up content regions for your master page than actually working on the new page, you might want to look into creating a "RadControls T4 Item Template" in Visual Studio with “RadControls for ASP.NET AJAX VS Extensions” Below is a basic way to get started with a “RadControls for ASP.NET AJAX” T4 Item Templates. To create your own RadControls T4 Item Template: Create a file – (MyTemplate.t4).       2.    Create a file...
    March 23, 2009 2 min read
  • Release

    "RadControls for ASP.NET AJAX VS Extensions" available for Visual studio 2005 and Visual Studio 2008

    In case you missed the announcement last week, check out Erjan's blog post  about our new product called RadControls for ASP.NET AJAX VS Extensions  (Click here  to download it). It works with both Visual Studio 2008 and Visual Studio 2005 and expands the capabilities of the IDE by allowing developers to create RadControls  Item templates. RadControls for ASP.NET AJAX VS Extensions using T4 (Text Template Transformation Toolkit) to generate the code behind the scenes when an Item Template is added to a project. T4 is a fully customizable text generator based on templates. Anyone can create or edit such a template...
    March 16, 2009 2 min read
  • Web ASP.NET AJAX

    RadControls for ASP.NET AJAX Visual Studio Extensions

    Telerik continues helping you deliver more than expected “Hello, world!” I decided to start my post with these magic words to present you the latest addition to the RadControls for ASP.NET AJAX product line: Visual Studio Extensions – the product that makes the development of WebSite/WebApplication with Telerik RadControls faster and easier. A programmer’s very first application is at the distance of starting the IDE and typing the magic words. Creating a RadControls web application is now at a few clicks distance as well. The Visual Studio Extensions aids the Visual Studio Web development from two perspectives – web configuration and...
    March 12, 2009 2 min read