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

  • Video: Getting Started with ASP.NET MVC Extensions

    Check out this ‘Getting Started with DevExpress ASP.NET MVC Extensions’ video:

    image

    Watch the video and you’ll learn how to setup a new Visual Studio ASP.NET MVC project to use the DevExpress ASP.NET MVC Extensions.

    You can also follow along the steps in this video by reading this knowledgebase article:

    How to Start Using DevExpress Extensions in an MVC Web Application

    Some of the steps to setup a new DevExpress MVC Extensions project will get easier in the next release, DXperience v2010 vol 2. More on that later.

    Watch the ‘Getting Started with DevExpress ASP.NET MVC Extensions’ video. 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/

  • Sneak Peek: Printing/Exporting with the WPF Pivot Grid – 2010 vol 2

    Check out the upcoming printing and exporting support coming to our WPF PivotGrid, the DXPivotGrid, in DXperience 2010 volume 2.

    The printing and exporting support is built using the DXPrinting library and it supports all the same great features and file formats provided by the DXPrinting library. For example:

    • Printing
    • Print Previews

    Export to the following file formats:

    • PDF
    • RTF
    • Plain Text
    • CSV
    • HTML
    • MHT
    • Image files (PNG, BMP, JPG and others)
    • XLS
    • XLSX
    • XPS

    Check out this screenshot of the DXPivotGrid’s upcoming print preview feature:

    DXPivotGrid PrintPreview

     

    The DXPivotGrid can also print column and row fixed panes on every page. This feature makes printed/exported reports much easier to read.

    For example, here are two exported PDFs. One shows repeating column and row fixed panes and the other does not:

    Download NoRepeat Report PDF

    Download Repeat Report PDF

    Drop me a line below with your thoughts on the upcoming printing and exporting support in DXPivotGrid. 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/

  • CodeRush 101 – The Video You Should Watch First

    Update: You can watch the CodeRush 101 video on YouTube: Part 1 and Part 2

    Check out this CodeRush 101 video that shows you the basics of CodeRush after installing it for the first time.

    In the video, Rory Becker and I cover CodeRush’s:

    • Welcome window
    • Training window
    • ‘What Happened?’ popup dialog
    • Graphical Hints
    • Refactorings

    Even if you’re a seasoned CodeRush user, I recommend watching the video because you may still learn something new:

    Video: CodeRush 101

    Once again, I have to thank CodeRush guru and evangelist, Rory Becker for his generosity.

    Do me a favor and leave a comment or question below. I’d love to hear your thoughts on the video!

    Follow MehulHarry on Twitter

    Want to experience a better Visual Studio?

    Install CodeRush by downloading the free lite version here: CodeRush Xpress

    Or better yet, try the full blown package free for 30 days – CodeRush and Refactor Pro Download!

  • Sneak Peek: New DevExpress.Com Support Center

    Check out this sneak peek of the new Support Center section of the new DevExpress.com website.

    The Support Center now has a clean and simple look:

     Support Center search

    And there’s also a ton of information provided for your questions:

    Support Center search results

    What do you think of the updated Support Center?

    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/

  • Subscribe To DevExpress RSS Feeds In Your Newsreader

    Add these DevExpress RSS feeds to your favorite newsreader and get the advantages of:

    • Speed – RSS Feeds are updated instantly when a new item is published.
    • Convenience – Read all the current and past entries at your own pace.
    • Organization – Organize all the different and useful DevExpress RSS feeds from one newsreader.

    DevExpress RSS Feeds

    Subscribe to these RSS feeds by copying the links below to your favorite newsreader:

    For example, here’s a shot of the RSS feeds in my favorite newsreader, Google Reader:

    image 

    Forum RSS Feeds

    The DevExpress Forum groups have their own RSS feeds. Here’s a couple of the popular ones:

    I prefer to get emails for the Discussion group so I’ve setup the forums to notify me when a new post or thread is updated for that group. To get email notification from forum threads, follow these steps:

    1. Be sure to login to DevExpress forums.
    2. Go to the ‘More Options’ button at the bottom page. For example, here’s the ‘More Options’ for the Discussion group.
    3. Change the ‘Send Email’ dropdown to the following setting:

    Forums - Get updates via email 

    Join LinkedIn Group

    Join the DevExpress LinkedIn group and interact with the LinkedIn community. You’ll need a LinkedIn account but once you join, you’ll get email notifications of new discussion threads.

    Drop me a line below with any questions about these RSS feeds. Thanks!

    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/

  • How to calculate Australian Golf Handicap using XPO

    Check out this informative code central example that shows you how to calculate the Australian Golf Handicap using eXpress Persistent Objects (XPO):

    Example Details: How to calculate Australian Golf Handicap using XPO

    Features

    The example demonstrates how to use the ASPxGridView with XPO to calculate the handicap used in Australian golf. The calculation algorithm and some sample data come from the The "Rolling Sample" Handicap Calculation Method article.

    The sample features:

    • Linq-To-Xpo demonstration
    • Instead of unbound columns, non persistent fields of XPO objects are used
    • Editing similar to master-detail relationship

    And it’s a complete sample. For example, here is the Player.cs file which defines the ‘Player’ class. To see the VB.NET version of this project, click the ‘Programming Language’ dropdown on the sample

    using System;
    using System.Linq;
    using DevExpress.Xpo;
    using DevExpress.Data.Filtering;
    using System.Collections.Generic;
    
    public class Player : XPObject {
        const Double BonusForExcellense = 0.96;
    
        public Player()
            : base() { }
    
        public Player(Session session)
            : base(session) { }
    
        public override void AfterConstruction() {
            base.AfterConstruction();
        }
    
        protected String _Name;
        public String Name {
            get { return _Name; }
            set { SetPropertyValue<String>("Name", ref _Name, value); }
        }
    
        [NonPersistent]
        public Int32 Handicap {
            get {
                List<Result> results = LastBestTen();
    
                if (results.Count == 0)
                    return 0;
    
                Double handicap = 0.0;
    
                handicap = results.Average<Result>(x => x.PlayedTo); // average
           
                handicap *= BonusForExcellense; // avarage * 0.96
                handicap = Math.Round(Math.Truncate(handicap * 10) / 10); // 14.496 -> 14.4 -> 14
    
                return Convert.ToInt32(handicap);
            }
        }
    
        [Association("Player-Results", typeof(Result))]
        public XPCollection<Result> Results {
            get { return GetCollection<Result>("Results"); }
        }
    
        public List<Result> LastBestTen() {
            if (Results.Count <= 10)
                return Results.ToList<Result>();
    
            XPQuery<Result> results = new XPQuery<Result>(this.Session);
    
            var list1 = (from r in results
                         where (r.Player == this)
                         orderby r.Date descending
                         select r).Take(20).ToList<Result>();
    
            var list2 = (from r in list1
                         orderby r.PlayedTo ascending
                         select r).Take(10);
    
            return list2.ToList<Result>();
        }
    }

    Click and Run

    You can download and run the Code Central samples direct from your local machine. Just click the ‘Download Source Code’ button for the sample page.

    Watch the ‘How To Use Code Central’ video to learn more:

    image

    Thanks Vest!

    Vest, one of our awesome support engineers, created this sample for one of our awesome customers, Daryn.

    Check out the ‘Australian Gold Handicap using XPO’ sample. Then drop me a line below with your thoughts.

    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/

     

  • WPF Pivot Grid Speed Improvements

    Check out these performance improvements for the DevExpress WPF Pivot Grid, DXPivotGrid:

    • Field values now expand and collapse twice as fast.
    • Improved scrolling speed in the Summary Type Display mode. The scrolling using the left/right arrow keys is now much faster.

    How fast?

    Here’s a project that uses our WPF Pivot Grid in a data intensive scenario:

    DevExpress WPF Pivot Grid

    To measure the difference, we took a couple of traces of the operations. For the trace, I've collapsed and expanded the first row area group in the WPF Pivot Grid project (screenshot above).

    Here’s the results: 17,711 ms before and 7,106 ms after - expanding is two times faster!

    Trace - Before Trace - After

    Coming Soon

    Unfortunately, these improvements are not in the latest release of DXperience v2010.1.5 yet. They will be in a future release so stay tuned.

    Drop me a line below with your thoughts.

    I'm on twitter

  • Wanna Watch DevExpress On Your Roku Today?

    DevExpress on Roku

    Roku owners, watch the DevExpress Channel videos streamed direct to your television.

    What’s a Roku?

    The Roku digital video player (also known as the Netflix Player by Roku) instantly streams high quality movies from Netflix and Amazon Video On Demand and ... [learn more on roku.com]

    How do I Add It To Roku?

    1. Go to Roku home (press up if you're viewing netflix)
    2. Move left or right to select "add a channel"
    3. Find the CDNTwo channel
    4. Select the menu item to "add this channel"
    5. After it's added, browse channels to find CDNTWO channel, select it and then browse to find the DevExpress channel.
    6. Browse the topics for the one you want, select it.
    7. Browse the videos for the one you want and press play.

    Demo Video

    Check out this short demo video that shows the DevExpress Channel on a Roku. Click the image to watch the video:

    image 

    How’s this possible?

    A company called CDNOne helps distributes video content. So we partnered up with CDNOne to deliver all the DevExpress Channel videos on their CDNTwo Roku channel. The CDNTwo Roku channel distributes university lectures, internet shows and audio books for free.

    And thanks to Crage at CDNOne, we didn’t have to make any major changes!

    Julian on Roku Mehul on Roku

    Fire up your Roku device and start watching the DevExpress Channel. Then you’ll have the pleasure of watching a couple of geeks on your big screen. (You’ve been warned Smile )

    I'm on twitter

  • Add a Sort Context Menu to an ASP.NET GridView

    Check out this new ASPxGridView context menu video below.

    The screencast shows you how to add a custom context menu to an ASPxGridView using the ASPxPopupMenu.

    Watch the video to learn how to connect an ASPxGridView and ASPxPopupMenu. You’ll also learn about the controls’ clientside API because this context menu in the demo uses a lot of clientside JavaScript code:

    Video: ASPxGridView Sort Context Menu

    After watching the screencast, drop me a line below with your thoughts.

    I’m on twitter

  • TechEd Video Chat: Alan Stevens Loves The Developer Community

    Check out this video chat with the smart and gregarious C# MVP, Alan Stevens.

    In the video, I talk with Alan about:

    • passion for the developer community
      • getting involved – open source projects, user groups, etc.
    • his latest talk
      • an interesting talk that ties creative writing issues and software development
    • open spaces
    • presentation patterns
      • ASP.NET routing
    • on being confident and humble
    • BDD
    • DVCS – Mercurial and Git

    Watch the video to see how fun Alan is to speak with:

    Video Chat: Alan Stevens @ TechEd

    Thanks Alan!

    Learn more about Alan on his blog [netcave.org] or ping him on twitter [@alanstevens].

     

    Drop me a line below with any of the number of topics discussed in the video. Thanks!

     

    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/

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-2016 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners