• .NET Mobile

    Visual Style Builder for ASP.NET AJAX: A Heavy Update

    Too much stuff! Must click little link: to the Style Builder! What's new? RadMenu, RadComboBox and RadInput get their share of styling goodness updated to the new-and-shiny 2009.Q2 release (featuring the real mode of RadColorPicker) the sought-after "base color" in Colorization is available I hope that you will like the UI. We revised it a few times before settling for this. The position of the "Apply" button was way off into nowhere (and, honestly speaking, it still is in the advanced edit). A note about colorization While the 'colorize' mode is indeed more useful (and probably sufficient in most scenarios), the old 'shift colors' algorithm has its...
  • .NET Mobile

    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...
  • .NET Mobile

    MVC design template

    February 11, 2009 Share
    We have just uploaded a contribution to Microsoft’s MVC design contest – a web-design template free for all to use with the MVC framework. Our entry is a clean, simple, blue-themed web-design generic enough to fit a broad range of scenarios. Please feel free to download and jumpstart your next project. We thought the contest was a great way to further support our clients in their switch to the MVC. Our RadControls for ASP.NET AJAX already boasts full support for the MVC (see live demo, join our forums), so we thought providing an out-of-the-box design solution is a logical next step. Initiatives like this...