• MVC3 and Grid Hierarchy

    Thursday, January 27, 2011 by ASP.NET MVC Team | Comments 5

    In my last blog post I did a quick overview of the Razor ViewEngine and showed a few examples of the new syntax working with the Telerik Extensions for ASP.NET MVC.  If you haven’t read over the blog post yet I recommend that you do before you continue reading this one, especially if you are not familiar with the Razor ViewEngine yet.

    Today I wanted to take a look at a how the new Razor ViewEngine works with our Grid for ASP.NET MVC, specifically in terms of Server Hierarchy. Why just Server and not Ajax you say? Well the WebForms code...

  • We’ve invited Shawn Wildermuth, Mark Arteaga and our Windows Phone Evangelist Evan Hutnick in a special Windows Phone 7 Free Webinar Series covering how to build apps for the third screen, how RadControls for Windows Phone can help you be more productive and how to use OData for data access. Find below short descriptions of the sessions:


    Date/Time: February 16, 2011, Wednesday, 10:00-11:00 a.m. EST

    Developing for the “Third Screen” - Windows Phone 7
    Guest Presenter: Mark Arteaga, RedBit Development
    Mark Arteaga from RedBit Development will give you a high level overview of the Windows Phone 7 platform and will go into some of...

  • Q3 2010 SP 1 has been a pretty bountiful release for the Telerik Extensions for ASP.NET MVC. Apart from introducing the official support for MVC3 and the Razor view engine, this Service Pack also makes the Extensions available in the NuGet package manager. You can now incorporate the Telerik Extensions for ASP.NET MVC into your app during development without having to leave Visual Studio.

    Talking about Razor, you can now find all Telerik MVC examples in both ASPX and Razor views. What is more, you might be interested to take a look at the open source Razor Converter tool which the Telerik...

  • Nowadays, with the increasing adoption of Silverlight, it is not uncommon to integrate one or more Silverlight controls in an existing asp.net website. More or less, it utilizes the integration logic demonstrated in this Telerik TV entry - http://tv.telerik.com/watch/silverlight/webinar/radcontrols-silverlight-aspnet and Manol’s blogpost - http://blogs.telerik.com/manoldonev/posts/09-03-17/silverlight_radchart_interoperability_with_asp_net.aspx . If you want to know how RadMap for Silverlight can be bound to RadGrid in ASP.NET go ahead and keep reading.
    The most important steps are as follows:
    1. Prepare the Silverlight application, adding references to the dlls of the controls it contains. In our case, this is a simple XAML page, containing a RadMap control:

    Code...
  • In the previous post we discussed how you could quickly create a new Visual Studio project, configured to use the Telerik Extensions for ASP.NET MVC targeting ASP.NET MVC 3. In this one, we are going to talk about how our Visual Studio Extensions have improved in regards to ASP.NET MVC 3 and the Razor view engine.

     

    A significant amount of the settings the Project Configuration Wizard manages are applied to your master page. In cases where an appropriate master page has not been found, you will be prompted to create a new one:

     

    convertBlog

     

    If your project targets ASP.NET MVC 3, you will be offered an...

  • Earlier this week we released Q3 Service Pack 1 of the Telerik Extensions for ASP.NET MVC. The release has a full support for ASP.NET MVC 3 RTM. A change we introduced is the new Visual Studio Project Templates for creating new Telerik MVC 3 project. Using these Project Templates you can create new MVC 3 project configured to use the Telerik Extensions for MVC in seconds with just a few clicks. The Project Templates for Telerik MVC project can be reached either from the File | New menu or from the Telerik | MVC UI Extensions menu.

     

    clip_image002

     

    clip_image003

     

    The New Project dialog will be launched...

  • With the new SP1 release of Q3 2010 we added a new feature to RadScheduleView that helps you customize every slot in a different way.custom slots

    To do that you should create an instance of the Slot class, set its Start and  End  properties,


    the Resources property - with this property you can define in which resource column the slot will be displayed,

    and the RecurrencePattern property - with this property you can define whether the slot will be displayed for repeating days or events like Christmas, WeekendDays  and Birthdays.


    For example let's say that we have a schedule control and want to customize the days that...
  • As you may know, we just released our ASP.NET MVC extensions latest service pack. Beside the regular dose of fixes, this service release incorporates even better support of the official version of MVC3. One of those new MVC3 feature, which I want to bring to your attention, is the unobtrusive validation.

     

    We all know how client validation from the previous version of MVC has worked; outputting a mass of JSON serialized validation rules. Although, this approach is still available, the newer one is far more pleasing. Enabled by default in the VS2010’s MVC3 project template, validation rules will be attached...

  • Last week MVC 3 RTM was released. I’ve been able to play around with the various release candidates and I have to say that I love the new changes, especially the new Razor ViewEngine. For those of you that have not been looking into the changes for MVC 3, or you are just starting to look into MVC, I wanted to first introduce the Razor ViewEngine and then show you how to use the syntax with some of our extensions for ASP.NET MVC.

    First up is the Razor ViewEngine. Now a ViewEngine is essentially what takes all of the code in...

  • We just love inventing tools. It’s one of those things hardcoded in our genome. There’s a great joy in seeing your invention work for you and all you have to do is sit back and sip a beer debug the hell out of it. But I digress.

    During the conversion of our online examples to the Razor view engine we’ve came up with a simple tool to help us. We didn’t have great hopes for it, as completely automatic conversion is hardly possible. It’s purpose was to take care of the bulk of the conversion, leaving the more fine points to the human...