Telerik blogs

Latest

  • Web ASP.NET AJAX

    Take a Walk on the Client Side with WebAPI and WebForms

    In my last blog I introduced the basics of using ASP.NET AJAX and WebAPI together in the same project.  In addition, I showed how to bind results from WebAPI to a Telerik’s ASP.NET AJAX Grid. In this blog I will continue down this path and implement insert, update, and delete operations using WebAPI and RadGrid! Note: While this post focuses on using WebAPI in conjunction with RadGrid, most of the client code can be used when working with RadGrid in client mode.Set It Up! To get started an additional reference needs to be added to the project: System.Net.Http.Formatting Adding this reference allows us...
    April 26, 2012
  • Web

    Creating A Kendo UI MVVM Widget

    Following up on last weeks post about creating custom DataBound Kendo UI Widgets, I wanted to cover how to make these widgets MVVM aware. The simple widget that I built in the last post is DataSource aware and can also be bound via declarative initialization. ...
    April 25, 2012
  • Web ASP.NET AJAX

    Take your ASP.NET Controls to the Gym

    There’s a ton of cool stuff coming out with ASP.NET 4.5 and Visual Studio 11. If you haven’t had a chance yet, take a look at my top five list of Visual Studio 11 Designer improvements for ASP.NET 4.5 development, as well as my deeper dive into the VS11 Page Inspector tool. Today however, I want to jump a bit more into code since, so far I haven’t covered too much of that! One of the new ASP.NET 4.5 improvements I’m excited about is the ability to have strongly typed controls. That’s right, you heard me, strongly typed! Why am I so...
    April 24, 2012
  • Web ASP.NET AJAX

    How to set a custom height for RadButton and RadFormDecorated buttons in ASP.NET AJAX

    Lately we’ve been receiving one question quite often - is it possible to increase the RadButton and / or RadFormDecorator’s button default height. Usually people are trying to set the needed value to the Height property: <telerik:RadFormDecorator runat="server" DecoratedControls="All" /> <asp:Button runat="server" Text="RadForm Button" Height="40" /> <telerik:RadButton runat="server" Text="RadButton" Height="40"> </telerik:RadButton>   But the result is not pretty:      By default the RadButton as well as ASP Buttons and inputs of type=”button” decorated by the RadFormDecorator are visually built with sprite images that apply a specific gradient to the element. The sprite image has a specific height, which means you cannot just change the button’s height property because the sprite image will be either cut off or...
    April 23, 2012
  • Web ASP.NET AJAX

    A Match Made in Http Heaven - ASP.NET Web Forms and WebAPI

    With the introduction of MVC 4 Microsoft has created a fantastic new way for developers to expose data via HTTP service.  WebAPI is extremely easy to configure when compared to WCF services, and can send content in a multitude of formats.  On top of that you can easily extend it at almost any level.  While WebAPI shipped with MVC 4, it can easily be used in Asp.Net AJAX as well!  In this blog we will take a look at setting up WebAPI in ASP.Net Web Forms Before We Get Started To follow along with this blog you will need to download and...
    April 20, 2012