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

March 2008 - Posts

  • Screencast: Enable Server Mode using LINQ (ASPxGridView & XtraGrid)

    In a previous post, I showed you how to use the powerful Server mode feature in ASPxGridView and XtraGrid against large datasets. The response to Server mode was so good that we've extended the ways that you can enable it.

    You can now use a LINQ provider to work with our .NET grids in Server mode. The latest release, 2008 Volume 1, introduces two new datasources to support LINQ.   LinqServerModeDataSource supports the ASPxGridView and the LinqServerModeSource supports the XtraGrid. To use these datasources against either the ASPxGridView or XtraGrid, try the steps demonstrated in the short screencasts below.

    ASPxGridView Screencast

    image

    XtraGrid Screencast

    image[3]

    The LINQ support in Server mode is bleeding-edge technology which gives you the performance gains for your projects. Check out this cool feature then let me know how you're using LINQ and how you plan to use these new LINQ datasources.

  • AutoFormats: Consistent and Preview

    Our ASP.NET controls now support a common set of visual styles across the entire library. You can now select from the 10 most popular styles. Click the link for a preview image of each style:

         
           

    Or you can preview these AutoFormats online using the demos. You'll now see a "Select Appearance" option at the top of the demos.  

    image

    You can change the look and feel for the whole demo using this option. You'll see the controls as they would appear in your own project with the AutoFormat applied. For example, here is the Red Wine AutoFormat on the ASPxGridView demo:

    image

    Which AutoFormat do you use in your project(s)?

  • ASPxperience Screencasts: Customization & Client-Side Events

    Check out these 5 new screencasts. Three show you how to customize the ASPxperience products and one shows you how to discover and use the client-side events.

    image
    The first lesson shows how to handle one of our ASPx control's client-side event. You'll also learn how to use the online documentation to learn more about client-side APIs. You may find the related blog post useful as well:


    Client-Side Manipulation: Using Client APIs and Handling Client-Side Events
       
    image

    In the second you'll learn how to use the default.css file to customize the appearance of an ASPx control:

    Appearance Customization: Using a Custom CSS File
       
    image In this screencast you'll learn how to create a new AutoFormat based on a web control's customized visual properties and apply it to other controls of the same type.

    Appearance Customization: Creating and Applying a New AutoFormat
       
    image This screencast shows how to create a new theme based on a web control's customized visual properties. You can then apply it to other controls of the same type.

    Appearance Customization: Creating and Applying a New Theme
       
    image

    The last screencast shows how to create a toolbar emulation with the ASPxMenu. You can also read the technical post on it here: Create Ribbon-Like Toolbars with ASPxMenu


    ASPxMenu: How to Create a Toolbar Emulation

     

    You can also access all these screencasts on the DevExpress Channel here: ASPxperience lessons.

    Thanks.

  • Vote for Developer Express in 2008

    asp.netPRO magazine is conducting the 2008 Readers Choice Awards. We would greatly appreciate your votes for Developer Express.

    Please cast your vote for your favorite Developer Express products by clicking on the "Vote Now" graphic below. The multiple choice survey only takes about 2-3 minutes to complete. It's much quicker if you use Ctrl-F to search for "devexpress" to find the Developer Express products.Wink We've been nominated in the following categories:

    Vote Now! asp.netPRO Readers Choice Awards
    Category   Developer Express Product
    Best Add-In   CodeRush for Visual Studio .NET
    Best Charting & Graphics Tool        XtraCharts Suite
    Best Component Set   DXperience ASP.NET
    Best Grid   ASPxGridView
    Best Navigation Suite   ASPxNavBar
    Best Online Editor   ASPxHTMLEditor
    Best Printing/Reporting Tool   XtraReports Suite
    Best Scheduling/Calendar Tool   ASPxScheduler

    Click here to vote now for Developer Express!

  • ASPxGridView: Improve Filter by Adding an '(All)' item

    Here is useful tip that can help you improve user experience. When filtering the ASPxGridView with an ASPxComboBox, you can add a new item to the top labeled "All". This can be useful when filtering because the word All is more descriptive than leaving a blank item. You can see an example of this item used on the grid used for the tutorials site:

    image

    So what's the trick? Just add a null ListEditItem to the ASPxComboBox. The new (All) item will be inserted above the default blank line that's on the top of the list. It does the same thing, but describing the functionality by changing the name really helps the user. So now you and the users can select the new "All" item to clear filtering for the column. To add this item, override the AutoFilterCellEditorInitialize method as follows:

    protected void ASPxGridView1_AutoFilterCellEditorInitialize(object sender, ASPxGridViewEditorEventArgs e)
    {
       if (e.Column.FieldName == "Country")
       {
          ASPxComboBox comboBox = e.Editor as ASPxComboBox;
          comboBox.ClientSideEvents.Init = "function(s, e) {s.InsertItem(0, '(ALL)', '');}";
       }
    }
    

    First, identify which columns use an ASPXCombobox then add the lines shown above. Now when the filter cell is initialized, the new "All" item will be added.

    Enjoy and thanks.

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