Mehul Harry's DevExpress Blog

This Blog

News


Mehul Harry is the DevExpress Web Program Manager. Follow him on twitter: @Mehulharry

Subscribe (RSS, Email)

Archives

January 2011 - Posts

  • ASP.NET MVC GridView Video - Data Bind, Refactor And Combo Box Column

    Check out the "MVC GridView Extension" webinar video and learn how some great techniques to work with it and it's feature set:

    image

    Agenda Topics

    I recommend watching this video because you'll learn about DevExpress MVC GridView's:

    • Overview
    • Features
    • Data Binding (Standard and Large databases)
    • Adding custom column
    • Data bind a Combo Box column
    • Best practices refactoring
    • Using built-in VS2010 dialogs to add views
    • And because it's the most comprehensive DevExpress MVC GridView video so far

    Leave Your Feedback Please

    Watch the DevExpress MVC GridView Extension video. Then drop me a line below with your thoughts. Thanks!

    Follow MehulHarry on Twitter

    Build Your Best - Without Limits or Compromise

    Try the DevExpress ASP.NET MVC Extensions online now: http://mvc.devexpress.com

    Read the latest news about DevExpress ASP.NET MVC Extensions

    Download a free and fully-functional version of DXperience now: http://www.devexpress.com/Downloads/NET/

  • ASP.NET MVC 3 Project Templates - Razor Support and Empty Templates

    Update: Watch the webinar video that shows DevExpress with ASP.NET MVC 3 Razor View Engine.

    Check out these new DevExpress ASP.NET MVC 3 project templates that make using the DevExpress MVC Extensions easy with ASP.NET MVC 3:

    DevExpress ASP.NET MVC 3 Project Templates

    4 New Project Templates for C# and VB.NET

    ASP.NET MVC 3 introduces a new view engine called Razor which the DevExpress MVC Extensions already support.

    The new view engine means you can choose between the WebForms engine or the new Razor engine.

    Project templates in CSharp and VB.NET for both engines are available to you to create DevExpress MVC web projects.

    Two new projects templates for ASP.NET MVC are available.

    Hybrid Empty Project Template

    Visual Studio 2010 allows you to create either a new empty web project or one with a basic layout and login capabilities. And it provides a lot of other project template types too.

    Because we didn't want to include too many new project templates, our new MVC 3 project templates are a compromise between the full and empty VS2010 project templates.

    Here's what the new project template looks like:

    DevExpress ASP.NET MVC 3 Project Templates - Layout

    In the new project template, there is:

    • one master page
    • one empty view page (Index)
    • one Home controller with an action for the Index view
    • and no Login functionality (like our previous project template)

    Of course, all of the necessary scripts, style sheets and references are added for you to use DevExpress MVC Extensions. This makes it easier for you to start with a clean MVC 3 web project to use DevExpress MVC Extensions.

    Available In v2010.2.5

    These new project templates are available starting with minor release DXperience v2010.2.5.

    Follow MehulHarry on Twitter

    Build Your Best - Without Limits or Compromise

    Try the DevExpress ASP.NET MVC Extensions online now: http://mvc.devexpress.com

    Read the latest news about DevExpress ASP.NET MVC Extensions

    Download a free and fully-functional version of DXperience now: http://www.devexpress.com/Downloads/NET/

  • Free Training Video - SharePoint 2010 Data Access

    Watch the 2nd video from Andrew Connell on SharePoint 2010 Data Access:

    DevExpress Webinars - SharePoint 2010 Data Access w/Andrew Connell

    Intermediate Level - Data Access

    This video follows up on the "Introduction to SharePoint 2010" video  and dives into different Data Access scenarios of SharePoint 2010.

    I recommend watching both videos to get a good understanding of overview of SharePoint 2010 and Data Access.

    SharePoint Training

    If you're interested in learning more from Andrew, be sure to check out his company that does SharePoint training:

    http://www.criticalpathtraining.com/

    DevExpress SharePoint

    Try any of the DevExpress ASP.NET products in SharePoint. Check out our SharePoint demo portal here:

    http://SharePoint.devexpress.com

    Be sure to check out the SharePoint Data Access 2010 video. Then leave Andrew a "Thank You" note below.

    Thanks Andrew!

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • Free Training Video - Introduction To SharePoint 2010

    Watch this great "Introduction to SharePoint 2010" video presented by a SharePoint guru: Andrew Connell:

    DevExpress - Introduction to SharePoint 2010 w/Andrew Connell

    Basic Introduction

    The video starts with a short history of SharePoint and then dives into the basics of SharePoint 2010.

    The video is intended as a high-level overview of SharePoint 2010.

    SharePoint Data Access

    After watching the video above, be sure to check out the follow up video here:

    Free Training Video - SharePoint 2010 Data Access

    SharePoint Training

    If you're interested in learning more from Andrew, be sure to check out his company that does SharePoint training:

    http://www.criticalpathtraining.com/

    DevExpress SharePoint

    Try any of the DevExpress ASP.NET products in SharePoint. Check out our SharePoint demo portal here:

    http://SharePoint.devexpress.com

    Be sure to check out the Introduction to SharePoint 2010 video. Then leave Andrew a "Thank You" note below.

    Thanks Andrew!

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • Post Webinar Video Online - Ask DevExpress - ASP.NET Team

    Watch the ‘Ask DevExpress – ASP.NET Team’ webinar video to learn about our 2011 ASP.NET Roadmap plans:

    image

    In the webinar, I cover our 2011 ASP.NET Roadmap plans. And the DevExpress ASP.NET team was there to help answer any of your ASP.NET questions.

    I’ll be doing one of these ‘Ask DevExpress’ webinars once a month so keep an eye out for future webinars here and join me again.

    Thanks!

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • JavaScript Webinar - Learn how Good C# Habits can Encourage Bad JavaScript Habits - February 2nd, 2011

    ElijahManorRegister and attend the free JavaScript webinar from JavaScript expert, Elijah Manor.

     

    Wednesday February 2nd, 2011 01:00pm EDT | 10:00am PDT | 05:00pm GMT

    It seems that far too many people come to jQuery thinking that their previous C# knowledge will help them be successful at client-side scripting. In many cases, you can be successful with this approach, however, the more JavaScript you write you will inevitably find yourself uncovering strange bugs because you didn't take time to learn JavaScript properly.

    This session is targeted for developers that use jQuery, but haven’t invested adequate time to learn some of the foundational JavaScript concepts that differ from C#. If you would like to avoid some of these common mistakes when moving from C#, then please join me as I try to explain some of the differences.

    Some of the topics that will be discussed in this session are:

    • Having Variables & Functions in Global Scope
    • Not Declaring Arrays & Objects Correctly
    • Not Understanding False-y Values
    • Not Testing & Setting Default Values Correctly
    • Using the Wrong Comparison Operators
    • Not Using the for…in Statement Correctly
    • Misunderstanding Scope in JavaScript
    • Not Knowing Variable and Function Hoisting
    • Not Using Closures Correctly or at All

    Since jQuery is a library that is built with JavaScript and used alongside JavaScript, it is important that you, as a developer, understand what you are doing. jQuery helps alleviate many of the DOM frustrations that you may have, but you should still take time to be proficient as a JavaScript developer. By doing so, it will increase your jQuery code quality, make it more efficient, and easier to maintain.

    Speaker Company: appendTo

    Twitter Handle: @elijahmanor

    Btw, Elijah works closely with jQuery team member, Jonathan Sharp.

    Don’t miss this webinar from Elijah. Register now.

    Follow MehulHarry on Twitter

    Build Your Best - Without Limits or Compromise

    Try the DevExpress ASP.NET MVC Extensions online now: http://mvc.devexpress.com

    Read the latest news about DevExpress ASP.NET MVC Extensions

    Download a free and fully-functional version of DXperience now: http://www.devexpress.com/Downloads/NET/

  • ASP.NET MVC 3: Razor View Engine Support Added!

    Update: Watch the webinar video that shows DevExpress with ASP.NET MVC 3 Razor View Engine.

    I’m excited to announce that all DevExpress ASP.NET MVC Extensions support ASP.NET MVC 3 and it’s new Razor View Engine!

    Feel free to use any DevExpress ASP.NET MVC Extension with the MVC 3 release.

    How to use the Razor view engine with DevExpress MVC Extensions

    Start using the DevExpress MVC Extensions in the Razor view engine. Let me show you how…

    All you need to do is to tweak the script and style registration code for the Razor view engine:

    1. Register scripts and styles

    Here I’ve added the scripts and style registration statements below the HEAD tag in the Shared/_Layout.cshtml file:

    @using DevExpress.Web.Mvc.UI
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
        <title>@ViewBag.Title </title>
        <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
        @Html.DevExpress().GetStyleSheets(
            new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
            new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
            new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor },
            new StyleSheet { ExtensionSuite = ExtensionSuite.GridView }
        )
        <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.4.js")"></script>
        <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")"></script>
        @Html.DevExpress().GetScripts(
            new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
            new Script { ExtensionSuite = ExtensionSuite.HtmlEditor },
            new Script { ExtensionSuite = ExtensionSuite.GridView },
            new Script { ExtensionSuite = ExtensionSuite.Editors }
        )
    </head>
    
    <body>

    Now use any DevExpress MVC extension in the view. Note: Please be sure that if you do declare the scripts and styles in the Master Page (Shared/_Layout.cshtml file) then you either derive your view from there or declare them in the new view directly.

    2. Two Changes for Razor

    a. To render HTML code, use the GetHtml() rather than Render() method. The following code shows how to accomplish this for the GridView extension:

    @Html.DevExpress().GridView( settings => {
         ...
    }).Bind(Model).GetHtml()

    b. To write a string followed by a line terminator to the response, use the DevExpressHelper.WriteLineToResponse method and pass the string as its parameter. The code below shows how to customize a pager template for the GridView extension:

    @Html.DevExpress().GridView( settings => {
        MVCxGridView grid = c.NamingContainer as MVCxGridView;
        ...
        settings.SetPagerBarTemplateContent(c => {
            ...
            DevExpressHelper.WriteLineToResponse("<label>of " + @grid.PageCount + "</label>");
            ...
        });
    }).Bind(Model).GetHtml()

    That’s it!

    Online Example w/Download

    Want to see an online working example that you can also download immediately and run in your local Visual Studio? Check out this Code Central example:

    How to use the Razor view engine with DevExpress Extensions for ASP.NET MVC

    Learn how to use Code Central here.

    Project Template Coming Soon

    A new Visual Studio 2010 project template will be released soon to help you create new ASP.NET MVC 3 projects for DevExpress MVC Extensions. The project template will be very similar to our current MVC project template. Track this suggestion if you want to know when the exact date it’ll be released.

    You don’t need the project template to use DevExpress MVC Extensions in the Razor view engine. You can start now.

    ASP.NET MVC 3

    Last week, Scott Guthrie announced the release of ASP.NET MVC 3 (and some other fun bits). The third major release of ASP.NET MVC 3 brings some great features.

    You can download and install ASP.NET MVC 3 here.

    What is Razor?

    It’s a new view engine for ASP.NET MVC:

    Razor minimizes the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow.

    Unlike most template syntaxes, with Razor you do not need to interrupt your coding to explicitly denote the start and end of server blocks within your HTML. The Razor parser is smart enough to infer this from your code. This enables a compact and expressive syntax which is clean, fast and fun to type.  - Scott Guthrie, Microsoft

    ASP.NET MVC Commitment

    The ASP.NET MVC 3 support is part of our commitment to ASP.NET MVC. For 2011, we’re adding more features and extensions to the DevExpress ASP.NET MVC Extensions. Join my webinar to learn more.

     

    Try the DevExpress ASP.NET MVC Extensions now with ASP.NET MVC 3, then drop me a line below with your thoughts.

    Thanks!

    Follow MehulHarry on Twitter

    Build Your Best - Without Limits or Compromise

    Try the DevExpress ASP.NET MVC Extensions online now: http://mvc.devexpress.com

    Read the latest news about DevExpress ASP.NET MVC Extensions

    Download a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • Watch the ASP.NET HTML Editor Getting Started Webinar

    Watch the ‘Getting Started with DevExpress ASP.NET HTML Editor’ webinar to learn how to use a rich-text editor for ASP.NET:

    ASP.NET HTML Editor Getting Started Webinar

    Webinar Agenda

    In the webinar, I cover these topics:

    • Add a ASP.NET HTML editor to a new Visual Studio 2010 ASP.NET project
    • How to change the Master Page’s DocType for XHTML transitional cross-browser compliance
    • The HTML editor visual elements and features
    • The Dialogs
    • The Toolbars
    • The new Image Selector feature
    • The new Full Screen feature
    • How to setup Spell Checking
      • How to download more dictionaries
    • How to databind and use it in an ASPxGridView
    • How to add a custom toolbar and buttons
    • HTML Validation

    Your Feedback

    Watch the ‘Getting Started with DevExpress ASP.NET HTML Editor’ webinar. Then drop me a line below with your thoughts, thanks!

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • Register Now - Introduction to SharePoint 2010 with Andrew Connell

    Update: Watch the post-webinar videos here:

    Free Training Video - Introduction To SharePoint 2010

    Free Training Video - SharePoint 2010 Data Access

     

    Learn about SharePoint 2010 with SharePoint MVP and guru, Andrew Connell.

    Andrew is giving 2 webinars on SharePoint 2010. First is an introduction to SharePoint 2010 for Developers on January 25th, 2011 at 10am PST. Click the register button:

    Introduction to SharePoint 2010 Webinar

    Then the next day on on January 26th, 2011 at 10am PST, Andrew will show you SharePoint 2010 Data Access. Click the register button:

    SharePoint 2010 Data Access Webinar

    Presenters

    AndrewConnell_HeadShotMedium
    Andrew Connell
    SharePoint MVP, Author & Instructor!

     

    Amanda Christensen
    Amanda Christensen
    Host

    Register Soon

    What are you waiting for? Go register, now.

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

  • New York City Give Camp - Live Stream and Day 2 Recap

    Today, on Saturday January 15th, 2011 at the NYC Give Camp, we had a special side event.

    A new DevExpress Live UStream Channel was launched which we used to broadcasted what was happening at the New York City Give Camp.

    Here’s the Url: http://www.ustream.tv/channel/devexpress (More from Azret)

    Join us on Sunday, January 16th, 2011 around 10am EST for more from the live ustream feed.

    Fun and Tech

    NYC Give Camp Live Stream

    We had a great time live streaming from the Microsoft New York campus with hosts:

    • Rachel Appel, Microsoft Developer Evangelist
    • Miguel Castro, MVP
    • Seth Juarez, Reporting Evangelist
    • and, yours truly, Mehul Harry! Smile

    During the broadcast, we talked with all the charities in attendance. We also had several developers that helping the charities to discuss their progress and enjoyment at the event.

    .NET Rock Stars

    After a few of hours of live streaming and having fun, we invited and chatted with key .NET Rock Stars like:

    Scott Hanselman, Ted Neward, Julie Lerman, Carl Franklin, Mark Miller, Scott Cate, Don Demsak, Sara Chipps, Wally McClure, Julian Bucknall, Chris Koenig, Teresa Burger and many more!

    Thanks to everyone who participated and watched the live stream because we had a lot of fun bringing you the excitement of a live event.

    Day 2 Recap

    Day 1 and 2 of the NYC Give Camp were a blast.

    The developer and charities are working on creating custom solutions. The charities are engaged in many different sectors like:

    • the homeless
    • people living HIV
    • children’s education in foreign countries
    • green energy solution
    • and more…

    And Day 3 of the New York City Give Camp still has a few devs coding at 1:45 am!

    Join us Sunday, January 16th 2011 for more live streaming from New York City Give Camp to see what the developers have built in 2.5 days of coding.

    Follow MehulHarry on Twitter

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

1
2
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners