• .NET Mobile

    Telerik Extensions for ASP.NET MVC – Troubleshooting

    November 09, 2009 Share
    Wow it has been a busy release! I am glad that we managed to release our first home-grown UI extensions for ASP.NET MVC. I hope you like them and please, please share your feedback in the forum.   In this blog post I will highlight the most common problems you may encounter while using the extensions and their solutions. Here we go: The control renders fine but its client-side features do not work The most common reason is that there is no ScriptRegistrar or it is placed before the UI components. It is mandatory that you add a ScriptRegistrar because the UI components require it...
  • .NET Mobile

    Z-index demystified

    In this blog post I will try to explain how CSS z-index works and a how to avoid a few common mistakes. First of all the z-index is used to control the z-order of positioned HTML elements. Simply put it controls the stacking order of HTML elements. To set it set the "z-index" CSS attribute of your element to some integer value.Z-index works only for positioned elements Positioned elements are elements whose "position" CSS attribute is set to "relative", "absolute" or "fixed". The default "position" is "static" which means that by default setting z-index has no effect. Z-index is NOT measured in...
  • .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

    Meet Telerik.Web.Design.dll

    This blog post has been updated !!! If you tried our Q1 2009 Beta you have probably noticed that there is a brand new assembly installed in your GAC - Telerik.Web.Design.dll. We decided to separate the design-time code from the web control implementation code. The reasons are many - better separation of concerns, less assembly references for the main assembly (Telerik.Web.UI.dll). We now have the freedom to extend the design time capabilities of RadControls for ASP.NET Ajax without bloating the main control assembly. Why didn't we make it that way from the beginning? The only reason is that Visual Studio 2008...
  • .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...