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

  • ASP.NET Card View - Conditional Formatting, Batch Editing and More (Coming soon in v15.2)

    Earlier in 2015, we showed you a preview version of the Card View layout. I'm happy to announce that in the v15.2 release, we have a new control: the DevExpress ASP.NET CardView control (ASPxCardView):

    The ASP.NET Card View control is packed with functionality and includes these great new features:

    • Adaptive & Responsive
    • Batch Editing & Updating
    • Conditional Formatting
    • Export to PDF, XLS, XLSX and RTF Formats
    • Selected Records Export
    • Large Database Support (Server Mode)
    • Conditional Formatting Export
    • Header Panel
    • Total Summary
    • Endless Paging
    • Date Range Header Filter
    • Filter Control
    • Ellipsis with tooltips in cell texts
    • Design-Time Card Layout Editor allows you to build a Microsoft Outlook inspired Contacts View with integrated data shaping and editing capabilities.

    There's way too much to show about this control in just this blog post so be sure to sign up the upcoming webinar below.

    Register for v15.2 webinar

    To see all the new features coming out for the v15.2 release, sign up for the "v15.2: What's New for ASP.NET Developers":

    Click here to register

    Thanks!


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET Grid View - Data Range Filter, Adaptivity and More (Coming soon in v15.2)

    In the v15.2 release, we've added powerful new capability and features to the DevExpress ASP.NET Grid View control. And I'm happy to announce that these features are available for both ASP.NET WebForms and MVC versions of our GridView!

    Responsive & Adaptive!

    This release ships with new options that make your web grid application responsive. Our ASP.NET GridView can now automatically adapt its UI based on the screen size (resize UI elements, hide cells of small columns, switch from a table to a card layout on smaller screens, etc.).

    Date Range Header Filter

    Two new representation modes inspired by Microsoft Windows Explorer are now available for the GridView's date column header filter dropdown. You can define a date range using a calendar or date editors. In both modes, the filter dropdown displays a customizable list of check boxes that allow you to select common date intervals: 'Last week', 'Last month', 'Last year', etc.

    Conditional Formatting

    With this release, our ASP.NET GridView supports Microsoft Excel inspired conditional formatting of individual cells. Your end-users can now highlight critical information, compare data, visualize trends by using data bars, color scales or icons. Format conditions applied to data cells can also be exported to PDF, RTF, XLS and XLSX.

    Truncated Cell Values

    Our ASP.NET GridView can now automatically truncate cell values if they don't fit into cell width. To indicate that the text is clipped, the grid displays an ellipsis ('...'). Point the mouse cursor over an ellipsis to display a tooltip with the full text.

    DevExpress ASP.NET GridView - Text Ellipsis

    Improved EditForm Layout Designer

    This release ships with the improved EditForm Designer available at design time. Its new features include:

    • Ability to move layout items via drag and drop.
    • Ability to assign a nested control to an item via a context menu.

    Sign up now to see the improved layout designer in the upcoming webinar.

    Register for v15.2 webinar

    To see all the new features coming out for the v15.2 release, sign up for the "v15.2: What's New for ASP.NET Developers":

    Click here to register

    Thanks!


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET AJAX Control Toolkit - v15.1.4 - Maintenance update available

    A new release of the ASP.NET AJAX Control Toolkit, v15.1.4, is now available. We've included several bug fixes and new features.

    You can download the latest release here:

    ASP.NET AJAX Control Toolkit v15.1

    Click the download button above and the get the latest bits.

    Or use the Nuget package: ASP.NET AJAX Control Toolkit Nuget package

    (If you missed news about the latest v15.1 ASP.NET AJAX Control Toolkit release then please read this helpful blog post.)

    v15.1.4 Includes:

    1. Bug fixes

    • Item 27961 - HTMLEditorExtender dropdown sets “null” font face
    • Item 27955 - AjaxControlToolkit LineChart doesn't work with 3 values in IE11 or Edge
    • Item 27570 - Czech time mask switch between dop. and odp.
    • Item 27736 - HtmlEditorExtender doesn’t correctly handle html links
    • Item 27350 - Typing is not allowed in the ComboBox until list is shown
    • Item 25370 - Watermark CSS class overrides TextBox CSS class
    • Item 27101 - Background doesn't render properly with Multiple ModalPopupExtenders
    • Item 27942 - HtmlEditorExtender adds & symbol when typing < or >
    • Item 27346 - CalendarExtender year change bug when setting StartDate and EndDate
    • Item 26881 - Accordion sets incorrect height
    • Item 27300 - AjaxFileUpload StatusMessage is not updated on fail
    • Item 27315 - BalloonPopupExtender DisplayOnClick does not work
    • Item 27364 - LineChart control script error (can't find parent div)
    • Item 27376 - CalendarExtender updates seconds when clicking "today" button
    • Item 27939 - Tabs generates script fatal error in debug mode
    • Item 27530 - TabContainer CssClass property ignored
    • Item 27917 - MaskedEditExtender clipboard paste broken in IE11
    • Item 27929 - MaskedEdit.js uses functions that are missing in IE8
    • Item 27920 - MaskedEditExtender loses value
    • Item 27921 - Access of undefined array in MaskedEditBehavior
    • Item 27911 - CalendarExtender IE8 NaN error
    • Item 27906 - DropDownExtender HighlightBackColor property only works with basic colors
    • Item 13114 - NumericUpDownExtender IE error
    • Item 27379 - AjaxFileUpload remove button bug in IE10
    • Item 27112 - BalloonPopupExtender visibility problem if it is placed in TabPanel or TabContainer
    • Item 27956 - Autoscroll to TabContainer on AutoPostBack
    • Item 27151 - Vertical Scroll position not in top when page loaded
    • Item 27926 - MaskedEditExtender breaks CalendarExtender
    • Item 27936 - SliderExtender produces a JavaScript error

    2. Features and improvements:

    • Item 27390 - Charts option to hide the plot value display
    • Item 27734 - FileUpload ClearFileListAfterUpload property

    Documentation:

    AJAX Control Toolkit Documentation updated.

    Helpful links

    Helpful documentation articles are available on the CodePlex site:

    Feedback

    Get the latest ASP.NET AJAX Control Toolkit v15.1.4 release and let us know your feedback by reporting it here.

    How to upgrade to v15.1.4

    Please take a look at the 'How to upgrade to v15.1 release' article to see how to migrate your existing ASP.NET AJAX Control Toolkit projects to the new v15.1.4 release.

    Try DevExpress ASP.NET

    We’d like to thank you for installing the DevExpress Edition of the AJAX Control Toolkit and look forward to your feedback as you begin its use.

    When we took over the fabulous ASP.NET AJAX Control Toolkit, our goal was to reach those web developers who want to use great web user interface controls for their web projects and DevExpress ASP.NET provides that and much more.

    Try the free DevExpress 30 day trial.

    Email: mharry@devexpress.com

    Twitter: @mehulharry


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • DevExtreme now available on Bower

    I'm happy to announce that DevExtreme is now available for download through http://bower.io.

    So what is bower? A package manager for the web:

    Web sites are made of lots of things — frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you.

    Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for.

    Bower is based on Node.js and, therefore, works on OSX, Linux, and Windows environments.

    And Bower is now the main tool for client package management in Visual Studio 2015.

    Install

    After your bower environment is set up, you can install the DevExtreme package by calling:

    The "bower install devextreme" call will download and install all scripts, CSS, font icons files, type script definitions, etc to use DevExtreme.

    And with Bower, updating your DevExtreme package is as easy as changing the version number in your bower manifest file.


    Create highly responsive web apps for touch-enabled devices and traditional desktops.

    From desktops to mobile devices, DevExtreme HTML5 Data Grid delivers the flexibility you’ll need to build apps that reach the widest audience and deliver touch-first user experiences to power your next great interactive website.

    Download a free and fully-functional version of DevExtreme now: Download DevExtreme

  • Update Ajax Control Toolkit to Patch Critical Security Vulnerability

    If you are using the ASP.NET AJAX Control Toolkit, you'll want to make sure it's updated to the latest version as it patches a critical security vulnerability.

    The "Directory Traversal" vulnerability affects ASP.NET AJAX Control Toolkit versions prior to v15.1.x.

    The vulnerability existed prior to DevExpress taking over the ASP.NET AJAX Control Toolkit. DevExpress has patched this vulnerability with our first release of the ASP.NET AJAX Control Toolkit v15.1.

    Details

    Brian Cardinale, Principal Application Security Consultant, notified us of the vulnerability last year (thanks Brian!). To help you understand the vulnerability, I'll use Brian's excellent description:

    There is a File Write Directory Traversal issue inside the AjaxControlToolkit “AjaxFileUpload” control. When uploading a file using this control, the framework should write the file to the environments “temp” directory. The framework is not validating the “fileid” parameter from being modified. This parameter is later used in the creation of the path in the “temp” directory. This parameter can be modified to write to any location on the disk, as long as file system permissions allows. This exploit can lead to Remote Code Execution if an attacker is able to upload an .aspx file into the web directory. - Brian Cardinale

    To learn more, check out Brian's blog post on this issue.

    Update to v15.1.x (or higher)

    To patch this vulnerability, upgrade your ASP.NET AJAX Control Toolkit version to the latest versions. You can download our useful installer here:

    Or use the Nuget libraries:

    ASP.NET AJAX Control Toolkit Nuget package


    Related posts:

  • ASP.NET AJAX Control Toolkit - v15.1.3 - Maintenance update available

    A new release of the ASP.NET AJAX Control Toolkit, v15.1.3, is now available. We've included several bug fixes and new features.

    You can download the latest release here:

    ASP.NET AJAX Control Toolkit v15.1

    Click the download button above and the get the latest bits.

    Or use the Nuget package: ASP.NET AJAX Control Toolkit Nuget package

    (If you missed news about the latest v15.1 ASP.NET AJAX Control Toolkit release then please read this helpful blog post.)

    v15.1.3 Includes:

    1. Bug fixes

    • Item 15788 - UpdatePanelAnimationExtender OnUpdating runs on every postback
    • Item 27072 - SliderExtender within UpdatePanel causes vertical scrollbar to scroll in Chrome and Safari
    • Item 27243 - Double HTML attributes rendered by TabPanel
    • Item 27294 - Issue with multiple AsyncFileUpload Control
    • Item 27369 - AjaxFileUpload: Drag and Drop is not working on IE10 for Windows 7
    • Item 27373 - PieChart doesn't render all segments correctly
    • Item 27434 - Keyboard Selection not Working
    • Item 27470 - TextBoxWatermarkExtender causes autocompletetype not to work
    • Item 27481 - Error in Masked edit validator
    • Item 27511 - img/png
    • Item 27547 - HtmlEditorExtender Causing Javascript Error on IE 11
    • Item 27566 - Multiple image upload using html editor extender control
    • Item 27595 - Mask Edit Extender Issue
    • Item 27612 - Editor Extender JAVA script error
    • Item 27655 - Corrupted Files in AjaxFileUpload
    • Item 27717 - HtmlEditorExtender error with Chrome 36.0.1985.125
    • Item 27735 - FileUpload Control Displays Upload Button with No Files
    • Item 27745 - Javascript error in Chrome with HtmlEditorExtender: Uncaught IndexSizeError
    • Item 27764 - MaskedEditExtender type Date fails with "hu-HU" culture
    • Item 27812 - Version 15.1 TabContainer CSS Inconsistency for Disabled Tabs
    • Item 27813 - Focus hidden tabs
    • Item 27844 - CascadingDropDown populated event not working as (I) expected
    • Item 27846 - TabContainer in 15.1
    • Item 27853 - AjaxControlToolkit 15.1 Combobox VS2013
    • Item 27855 - Where is ComboBox predefind theme images?
    • Item 27857 - SliderExtender handle image align broken in vertical orientation
    • Item 27858 - MaskedEdit extender culture setting issue
    • Item 27860 - big issue: htmlextender bug
    • Item 27865 - Using AJAX Password Strength with Modal Popup
    • Item 27875 - v15.1.x ValidatorCallout static images - incorrect path with ScriptManager.EnableCdn= false
    • Item 27892 - HtmlEditorExtender: BackColor and ForeColor buttons is not working

    2. Features and improvements:

    • Item 8626 - Slideshow effects
    • Item 27075 - Table Border/CellPadding/CellSpacing - Replace with CSS

    3. Sample site updates:

    4. Internal improvements:

    Client testing introduced.

    Documentation

    Helpful documentation articles are available on the CodePlex site:

    Feedback

    Get the latest ASP.NET AJAX Control Toolkit v15.1.3 release and let us know your feedback by reporting it here.

    How to upgrade to v15.1.3

    Please take a look at the 'How to upgrade to v15.1 release' article to see how to migrate your existing ASP.NET AJAX Control Toolkit projects to the new v15.1.3 release.

    Try DevExpress ASP.NET

    We’d like to thank you for installing the DevExpress Edition of the AJAX Control Toolkit and look forward to your feedback as you begin its use.

    When we took over the fabulous ASP.NET AJAX Control Toolkit, our goal was to reach those web developers who want to use great web user interface controls for their web projects and DevExpress ASP.NET provides that and much more.

    Try the free DevExpress 30 day trial.

    Email: mharry@devexpress.com

    Twitter: @mehulharry


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET vNext - DevExpress Plans for ASP.NET 5

    Update: Announcing DevExtreme ASP.NET 5 TagHelpers - Available Now

    DevExpress ASP.NET customers have been curious about the changes coming with ASP.NET vNext (aka ASP.NET 5), so let me take this opportunity to announce our plans:

    1. We will support ASP.NET 5.
    2. In fact, we're working hard on an upcoming release that will support ASP.NET 5.

    The new version now has an official name, "ASP.NET 5" and for the rest of this post, I'll use that term. To be clear, ASP.NET vNext is Microsoft's term for the next version of ASP.NET that they are working on.

    Which release will support ASP.NET 5?

    The specific DevExpress release is still to be determined because as ASP.NET 5 is still in beta. Here's Microsoft schedule:

    ASP.NET 5 Schedule and Roadmap

    Because ASP.NET 5 will be released in early 2016, we expect to support ASP.NET 5 with DXperience v16.1 release.

    There is a possibility that we could release some bits in DXperience v15.2. Take a look at the feedback section below for more info.

    What is ASP.NET 5?

    ASP.NET 5 is a significant redesign of ASP.NET. -Daniel Roth, ASP.NET 5 Docs

    The Microsoft ASP.NET team has been working hard on the next version of ASP.NET. And there are major changes. And yet, many of the things that you know, will still work the same.

    To understand what's coming with ASP.NET 5, I highly recommend you:

    1. Watch this video:

    Introduction to ASP.NET 5
    2. Or, read the docs.
    3. Or, check out the links that Jon Galloway has compilied on this blog post: A 30 Minute Look At ASP.NET vNext
    4. Or, check out any of the other great resources listed here: http://asp.net/vnext
    5. Or, all of the above.

    DevExpress Plans

    Here is our plan to support ASP.NET 5:

    New Runtimes

    Before I discuss our plans, it's important to understand the different runtimes. This image shows the two major runtimes:

    .NET 2015

    Full .NET Framework 4.6

    The .NET Framework 4.6 runtime is an incremental upgrade to the existing .NET v4.5 line. And therefore, it's backward compatible and provides all the framework features (WebForms, MVC 5.x, etc.). This framework provides the easiest path for upgrading an existing .NET project.

    All DevExpress ASP.NET WebForms controls and MVC extensions work with the Microsoft .NET Framework 4.6 runtime today.

    .NET Core 5

    As Daniel Roth mentioned above: "ASP.NET 5 is a significant redesign of ASP.NET". And at the heart of it is the new .NET Core 5 runtime.

    The .NET Core 5 runtime is a new implementation of .NET that is server-focused and optimized for server and cloud workloads. It's also cross-platform which means you can run it on Linux and OSX:

    .NET Core 5 is a modular runtime and library implementation that includes a subset of the .NET Framework. Currently it is feature complete on Windows, and in-progress builds exist for both Linux and OS X. -Steve Smith, ASP.NET 5 Docs

    But writing for ASP.NET 5, using .NET Core 5, is very different than what you know today. WebForms and MVC 5.x are not included in this framework. It has been architected in a very different way for web development. Therefore, you cannot use current DevExpress ASP.NET controls with .NET Core 5.

    However! There is good news. ASP.NET 5 favors client-side libraries for user interface. Therefore, we plan to leverage DevExtreme (DevExpress' client-side JavaScript framework and widgets).

    Short Term Goal:

    We plan to create wrappers and provide an easy experience for you to use DevExtreme widgets with ASP.NET 5. We have started this development work already and our non-visual documents library: Spreadsheet, RichEdit(Word), and PDF processing are close to being done.

    Long Term Goal:

    While the DevExtreme UI widget library does not have as many controls as our ASP.NET subscription, it is growing with each release.

    And finally, we have do have some interesting ideas to bring you rich and powerful controls for ASP.NET 5. Stay tuned.

    Feedback

    If you are highly interested in ASP.NET 5 and DevExpress integration, then please leave a comment below. Your feedback will help us decide on what bits and which release we may target.

    Thanks!


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET MVC - Form Layout - Code Usability Improvement (Shipping in v15.1)

    Available now in the DXperience v15.1 release, we've introduced a useful improvement for working with the DevExpress MVC Form Layout extension.

    Now it's much easier to configure a nested extension.

    Form Layout - MVC

    The DevExpress MVC Form Layout extension is great because it helps you to create beautiful forms.

    The Problem

    The Form Layout extension is a container control where it embeds other controls within it.

    The problem is when you want to access one of these nested/embedded controls. To do this, previously, you would have to write some code like this:

    settings.Items.Add(i => {
       i.NestedExtensionType = FormLayoutNestedExtensionItemType.ComboBox;
       var cbSettings = (ComboBoxSettings)itemSettings.NestedExtensionSettings;
       cbSettings.Properties.ValueType = typeof(int);
       …
    });
    

    Solution - Lambda Expression

    Now with v15.1, it is simple because you can configure it using a lambda expression:

    settings.Items.Add(i => {
      i.NestedExtension().ComboBox(s => {
         s.Properties.ValueType = typeof(int);
         …
       });
    });
    

    The new approach benefits you because you do not need have reference type or a separate variable for settings and properties.

    And there's less code to write which makes the code more readable!

    Demo sample

    Check out the an example of this code here:

    MVC Form Layout Demo

    What do you think of this code improvement? Drop me a line below, thanks!


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET Rich Text Editor - Using DocVariable to Add Custom Data and Charts (Shipping in v15.1)

    In the "What's new for ASP.NET v15.1" webinar, I showed the mail merge like features of the new DevExpress ASP.NET Rich Text Editor. Click the image below to see the webinar video:

    In this blog post, I'll explain some more details about this great new functionality.

    Fields Support

    In the DevExpress ASP.NET Rich Text Editor (ASPxRichEdit), document fields are special placeholders for non-static data that might change (be updated on field update). These placeholders are replaced with actual data when the document is rendered for display or print. Using fields, you can automate different aspects of your document, such as auto page numbering, inserting actual dates and times, etc. The default Mail Merge ribbon tab can be used to work with fields (create, update, switch between field display modes). There are six field codes:

    • DATE - Inserts the current date and time.
    • TIME - Inserts the current time.
    • HYPERLINK - Enables you to navigate to another location or to a bookmark.
    • NUMPAGES - Inserts the total number of pages.
    • PAGE - Inserts the number of the page containing the field.
    • DOCVARIABLE - Enables you to programmatically insert complex content when this field is updated.

    Docvariable

    The DevExpress ASP.NET Rich Editor (ASPxRichEdit) enables you to store custom information in the document using document variables. To insert a document variable in the document, use the DOCVARIABLE field code.

    The DOCVARIABLE field code has the following syntax:

    { DOCVARIABLE "variable name" "argument1" "argument 2"... }
    

    Argument1, Argument2, etc. are optional parameters.

    How to insert a DOCVARIABLE field

    To add the Docvariable field code to your RTF doc:

    1. Press Ctrl+F9 to insert a new field
    2. write the DOCVARIABLE keyword, space and a name of a variable

    Calculate the field value

    To calculate a value of this field in ASPxRichEdit:

    First, override the CalculateDocumentVariable event.

    In the handler, you can calculate a field result. Get a variable name and arguments (if they are defined) from the event args. Then set the Handled and Value properties. The Value property can have the string or Document types. If it’s set with a string then this string will be inserted as a field result.

    If you want to insert some advanced content, you can set the Value property with a Document instance. So, other rich-text document can be inserted as a field result in a current rich-text document.

    Here's an example:

    protected void DemoRichEdit_CalculateDocumentVariable(object sender, CalculateDocumentVariableEventArgs e) {
            switch(e.VariableName) {
                case "Chart":
                    var sales = GetSales(e.Arguments[0].Value);
                    DocumentImageSource chart = DocumentImageSource.FromStream(CreateChart(sales));
                    RichEditDocumentServer srv = new RichEditDocumentServer();
                    srv.Document.Images.Append(chart);
                    e.Value = srv.Document;
                    e.Handled = true;
                    break;
                case "CommonSales":
                    var commonSales = GetCommonSales(e.Arguments[0].Value);
                    e.Value = commonSales.ToString("C");
                    e.Handled = true;
                    break;
                default:
                    break;
            }
        }
    

    Demo

    Try this feature online now:

    DevExpress ASP.NET RichEdit demo - Document Variables Support

    Thanks.

    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

  • ASP.NET MVC - Secondary enhancements (Shipping in v15.1)

    Now that the DevExpress v15.1 release is available, I wanted to highlight 4 smaller enhancements that you may not have seen:

    Minor Enhancements

    1. GridView - Provide the capability to use the Search Panel in Custom Data Binding mode.

    A new SearchPanel property has been added to the GridViewModel class.

    The property's type (DevExpress.Web.Mvc.GridViewSearchPanelState) exposes the following properties:

    • ColumnNames
    • Filter
    • GroupOperator

    (more info)

    2. PivotGrid - Provide a way to customize control settings before export.

    The new MVCxPivotGridExportSettings.BeforeExport property allows you to customize settings before exporting.

    (more info)

    3. DevexpressEditorsModelBinder - Support binding multiple values selected in MVC Extension editors to a Model's collection-type property.

    DevExpressEditorsBinder now supports binding to complex collection-type models and model properties, in a similar manner as the default model binder (DefaultModelBinder) does.

    (more info)

    4. Binary Image Column Editing

    The DevExpress MVC BinaryImage extension can now provides editing features. It has a built-in upload functionality that allows users to upload an image direct to the server and set the BinaryImage column. And you can use it within the DevExpress MVC GridView extension. Simply set up your BinaryImage column and choose your settings:

        settings.Columns.Add(c => {
            c.FieldName = "Photo";
            c.ColumnType = MVCxGridViewColumnType.BinaryImage;
            var properties = (MVCxBinaryImageEditProperties)c.PropertiesEdit;
            properties.ImageHeight = 170;
            properties.ImageWidth = 160;
            properties.ImageSizeMode = ImageSizeMode.FitProportional;
            properties.CallbackRouteValues = new { Action = "BinaryImageColumnPhotoUpdate", Controller = "Editing" };
            properties.EditingSettings.Enabled = true;
            properties.EditingSettings.UploadSettings.UploadValidationSettings.MaxFileSize = 4194304;
        });
    

    Check out this onlie demo to learn more.

    What's new in v15.1

    The DevExpress ASP.NET MVC extensions have gotten some major new upgrades and enhancements in the v15.1 release. Check out the full list here:

    http://devexpress.com/new

    And be sure to check out the latest addition to our MVC suite:

    New Rich Text Editor

    V15.1 includes our newest MVC Extension – the DevExpress Rich Text Editor for MVC. Like its WebForms counterpart, this extension allows you to introduce powerful word processing capabilities to your next MVC app. The Rich Editor ships with a comprehensive set of text formatting options and a rich collection of Microsoft Word-inspired features.

    DevExpress MVC Rich Text Editor - Online demo

    Thanks!


    Your Next Great .NET App Starts Here

    Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

    Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

1
2
3 4 5 6 7 8 9 10
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