Telerik blogs

Latest

  • Web

    How To: Custom filter row with RadGridView for Silverlight

    Since our RadGrid for ASP.NET AJAX filter row is very popular, I’ve made small demo how to achieve the same in RadGridView for Silverlight:   To turn on this for your grid you can simply set GridViewFilterRow.IsEnabled attached property: <UserControl x:Class="CustomFilterRow.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGridViewFilter="clr-namespace:Telerik.Windows.Controls.GridView.Filter" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"> <Grid x:Name="LayoutRoot" Background="White"> <telerik:RadGridView x:Name="RadGridView1" AutoGenerateColumns="False" telerikGridViewFilter:GridViewFilterRow.IsEnabled="True"> <telerik:RadGridView.Columns> ...
  • Web ASP.NET AJAX

    XML Syntax Rules

    All XML Elements Must Have a Closing Tag In HTML, you will often see elements that don't have a closing tag:  <p>This is a paragraph  <p>This is another paragraph    In XML, it is illegal to omit the closing tag. All elements must have a closing tag: <p>This is a paragraph</p>  <p>This is another paragraph</p>        Note: You might have noticed from the previous example that the XML declaration did not have a closing tag. This is not an error. The declaration is not a part of the XML document itself, and it has no closing tag. XML Tags are Case Sensitive XML elements are defined using XML tags. XML tags are case sensitive. With XML, the tag <Letter> is different from the...
    April 03, 2009
  • Web ASP.NET AJAX

    Telerik, AJAX UI controls and Mono support

    Had I posted the big news yesterday, many people would've probably thought that it's an April Fools' Day joke. Luckily, it's not a prank and we are very excited to announce that RadControls for ASP.NET AJAX works on the latest distribution of Mono.    Telerik customers have been asking us for Mono support since 2006 and we have been quietly working with Novell to make it happen. After many rounds of feedback and fixes, we are very happy that our collaboration yielded great results - now customers can make their ASP.NET applications truly cross-platform. It's a good time to say a BIG...
    April 02, 2009
  • 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
  • Web ASP.NET MVC ASP.NET AJAX

    ASP.NET Ajax Controls in ASP.NET MVC - MVC Forum Updated

    We have updated our MVC Forum sample application to use the official ASP.NET MVC 1.0, RadControls for ASP.NET Ajax Q1 2009 and the latest installment of Telerik OpenAccess ORM. Online demo | Download...
    April 01, 2009