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 HTML Editor Validation (coming soon in v2010 vol 2)

    Check out the ASP.NET HTML editor’s powerful built-in validation feature coming soon in the DXperience v2010 volume 2 release:

    AspNet_HTML_Editor_Validation

    Flexible Validation

    The ASPxHtmlEditor will provide a built-in means to perform powerful validation of its content, both on the client and server side. Different validation settings are available for customization through the editor's SettingsValidation property.

    Easy-To-Use Methods

    Easy-to-use methods are provided to define editor validation logic. These methods can be combined together for extensive validation:

    • The SettingsValidation.RequiredField property can be used to force an editor to require input, and give you the ability to display an error message if an input is not received
    • The editor's Validation event (client or server, or both) can be handled to setup custom editor validation

    Client-side Validation

    The ASP.NET HTML Editor will feature Client-side input validation. You can manually initiate the editor's client validation by using the editor's Validate client method. Or specific static client methods are also available such as the:

    • ASPxClientEdit.ValidateEditorsInContainer
    • ASPxClientEdit.ValidateEditorsInContainerById
    • ASPxClientEdit.ValidateGroup

    Server-side Validation

    The ASP.NET HTML editor will also feature server-side input validation. The editor's server validation will always be performed during processing of an external postback, if the editor's content has been changed. The server validation can also be initiated programmatically by using the editor's Validate server method, or a specific static server method ASPxEdit.ValidateEditorsInContainer.

    You are also allowed to validate the editor's content programmatically (when required), and indicate the validation result manually, by either setting the editor's IsValid server property or using the SetIsValid client method.

    Custom Error Text and Display

    When an editor fails validation logic, a specific error frame containing the error description can be displayed within the editor's Design, Preview and HTML View. The error frame's appearance is customized through the SettingsValidation.ErrorFrameStyle property.

    This error text can be specified by using the SettingsValidation.ErrorText property, in the Validation event's handler, or via the editor's ErrorText property (depending upon the validation method used).

    Coming soon in v2010 volume 2

    The new ASP.NET HTML Editor’s Validation feature will be part of the upcoming DXperience v2010 volume 2 release soon.

     

    Are you excited about all the new and exciting feature enhancements that the ASP.NET HTML Editor is bringing you? Drop me a line below with your thoughts on the powerful new validation feature. Thanks!

    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!

  • ASP.NET MVC TreeView Extension (coming soon in v2010 vol 2)

    Check out the new ASP.NET MVC TreeView Extension coming out in the DXperience v2010 volume 2 release:

    DevExpress MVC TreeView Extension

    ASP.NET MVC TreeView

    The MVC TreeView Extension helps you with many navigation purposes in your ASP.NET MVC projects.

    And it also adds to your big set of upcoming DevExpress ASP.NET MVC Extensions when the DevExpress MVC Extensions product line is released in DXperience v2010 vol 2 release.

    And just like the other DevExpress MVC Extensions, the TreeView is a native ASP.NET MVC Extension with jQuery support and other great features.

    Features

    The MVC TreeView Extension is packed with great features that you’ll need from an ASP.NET MVC TreeView Extension:

    • Light weight HTML using semantic rendering which also has these benefits:
      • Performance is increased because the amount of HTML output is reduced
      • Accessibility is improved because screen readers understand semantic HTML
      • SEO is also improved because search engines also prefer semantic HTML
    • Uses jQuery
    • Powerful Databinding – the TreeView extension supports binding to data sources that containing hierarchical data. It has methods to bind to any object that implements the IHierarchicalEnumerable interface and methods to bind to data from XML and SiteMap files 
    • Virtual Mode – In addition to bound and unbound modes, the TreeView can operate in Virtual Mode, which greatly reduces both server load and start-up time when working with complex or dynamically created hierarchies. In Virtual Mode, data is retrieved on the server in portions, on a client request, at start-up and when expanding nodes. In essence, child nodes are created and initialized only when their parent node is expanded for the first time. This allows you to efficiently use server resources and to avoid retrieving the entire amount of hierarchical data for the TreeView.
    • Expand/Collapse animations
    • Check box support – display checkboxes on each node. You can also recursively check the child check box nodes.
    • Node selection
    • Node hot-tracking
    • Node Link Mode – In the TreeView, nodes represent navigation elements (links). For nodes, you can activate a specific link mode, in which only certain node elements are clickable.
    • Show/Hide tree lines
    • Rich client-side events and functionality
    • ASP.NET Templates support
    • Right-To-Left support
    • Callbacks (Ajax) support
    • XHTML cross browser compliant – supports all major browsers
    • Section 508 and Web Accessibility  compliant

    Built On .NET Framework 3.5

    DevExpress MVC Extensions assembly code and demos are created using .NET Framework 3.5. Therefore, we use some of the Framework 3.5 approaches and technologies such as auto-properties, lambda expressions, LINQ, etc.

    This means that .NET Framework 3.5 SP 1 (or later) is required to use our ASP.NET MVC extensions. No exceptions.

    Supports ASP.NET MVC 2.0 and VS2010

    Our MVC extensions support ASP.NET MVC 2.0 which you can use in either Visual Studio 2008 or Visual Studio 2010.

    Free For Customers

    The DevExpress MVC Extensions are free with a DXperience subscription! Standard EULA applies.

     

    Are you looking forward to the DevExpress MVC TreeView Extension? 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/

  • Free CodeRush Webinar! Learn About Powerful Templates - September 30th, 2010

    Thursday September 30, 2010 01:00pm EDT | 10:00am PDT | 05:00pm GMT

    • Subject: CodeRush Template Deep Dive
    • Date: Thursday, September 30th, 2010
    • Time: 10am PDT (GMT -07:00)
    • Length: 1 hour (but may go longer)
    • Presenter: Mark Miller and Rory Becker
    • Register here - https://www3.gotomeeting.com/register/582260542

    Who should attend:

    This session is for CodeRush customers who want to learn more about the CodeRush template engine and how to exploit it. This session is also for anyone who wants to learn more about the power and flexibility of CodeRush.

    What Attendees will learn:

    This session will provide you an overview of existing template technology and offer a behind-the-scenes look at how CodeRush templates are built. You'll learn about:

    • aliases
    • alternate expansions
    • fields
    • linked identifiers
    • context
    • dynamic lists
    • TextCommands
    • StringProviders

    Everything you need to know about exploiting the power of CodeRush templates.

    Presenters

    AmandaChristensen Amanda Christensen
    Host
    MarkMiller Mark Miller
    Chief Architect – IDE Team
    RoryBecker[5] Rory Becker
    Technical Evangelist – IDE Team
       

    Register Soon

    I’ll be there to help answer any questions. What are you waiting for? Go register, now.

  • Video: Molly Holzschlag Discusses HTML5, CSS3 and the Open Web @ #HDC10

    Check out this video interview with Molly Holzschlag from the recent Heartland Developer’s Conference 2010 in Omaha, Nebraska. Molly is a well-known Web standards advocate, instructor, and author.

    Yes, that Molly who’s written several great books on HTML and CSS. Molly is also a Web Evangelist for Opera software who makes the fast Opera browser.

    Watch the video because Molly is a smart, experienced  and fun web guru who discusses:

    • The Open Web – What is it and what it means to you.
    • HTML 5 – cool HTML5 features, XHTML’s future, browser support/adoption and more
    • CSS 3 – Improvements, layout issues, and differentiation from HTML5
    • Her blog quote and philosophy:

      "Everyone has something to contribute to the World Wide Web. Why? Because the Web is of us. Whatever we are as humans is now manifest in the Web: Our beauty, hatred, fragility and ferocity; our kindness, cruelty, confusion and clarity. Our wars. Our peace."
      - Molly E. Holzschlag

    image

    Molly is smart, friendly and accessible. You can also find her online here:

    Meeting and talking with Molly was one of the highlights from the Heartland Developers Conference. Thanks Molly!

    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!

  • New ASP.NET TreeView Control (coming in v2010 vol 2)

    Check out the new ASP.NET TreeView control coming soon in the DXperience v2010 volume 2 release. The new ASP.NET TreeView, called ASPxTreeView, will be part of the ASPxperience Suite:

    AspNet_TreeView

    TreeView vs TreeList

    If there is already an ASP.NET TreeList Suite then why are we introducing a TreeView control?

    • The ASPxTreeList is useful when you need to represent hierarchical data and/or perform CRUD operations.
    • The ASPxTreeView is useful when you need a menu to iterate through hierarchically organized pages/information structures.

    You can use them together in your project based on your particular needs.

    In essence, we distilled the features to make a great navigation control with the tree view, but if you need the complete and impressive array of features go for the tree list.

    ASPxTreeView Features

    The ASPxTreeView is packed with great features:

    • Semantic rendering
    • Powerful Databinding – Primarily designed to be a site navigation control, the ASPxTreeView supports binding to data sources containing hierarchical data. Any object that implements the IHierarchicalEnumerable or IHierarchicalDataSource interface (e.g. SiteMapDataSource, XmlDataSource, etc.) may be used as a data source for the ASPxTreeView control.
    • Virtual Mode – In addition to bound and unbound modes, the ASPxTreeView can operate in Virtual Mode, which greatly reduces both server load and start-up time when working with complex or dynamically created hierarchies. In Virtual Mode, data is retrieved on the server in portions, on a client request, at start-up and when expanding nodes. In essence, child nodes are created and initialized only when their parent node is expanded for the first time. This allows you to efficiently use server resources and to avoid retrieving the entire amount of hierarchical data for the ASPxTreeView.
    • Expand/Collapse animations
    • Check box support – display checkboxes on each node. You can also recursively check the child check box nodes.
    • Node selection
    • Node hot-tracking
      • Node Link Mode – In the ASPxTreeView, nodes represent navigation elements (links). For nodes, you can activate a specific link mode, in which only certain node elements are clickable.
      • Show/Hide tree lines
      • Rich client-side events and functionality
      • ASP.NET Templates support
      • Right-To-Left support
      • Callbacks (Ajax) support
      • XHTML cross browser compliant – supports all major browsers
      • Section 508 and Web Accessibility  compliant

      TreeList Only Advantages

      Because the ASPxTreeView is for navigation purposes, here’s some features of the ASPxTreeList that are not (and likely will not) be part of the ASPxTreeView:

      Basically, the ASPxTreeView does not have all the things that make the ASPxTreeList look and behave like a grid. Which is why the ASPxTreeView is a “lighter” control. However, the ASPxTreeView does pack a great set of features.

      ASPxperience v2010 vol 2

      The new ASPxTreeView will be part of the ASPxperience Suite in the DXperience v2010 volume 2 release later this year.

      Are you looking forward to the new ASP.NET TreeView control?

      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/

    • Knowledgebase Helps Solve Strange Visual Studio FORMATETC Error

      Last week, I spoke with a potential DevExpress customer who asked for help in trying to figure out an unusual Visual Studio 2008 error:

      VS_FormatEtc_error

      Mark Lauter of Sumo Software had already tried a google search without any luck. So my first suggestions were to make sure to install:

      I also didn’t have a clue as to the source of the error. But I knew that it probably didn’t originate from the DevExpress ASP.NET controls. Why?

      1. Glaring errors are usually reported quickly by the large customer base (and fixed promptly by DevExpress Support)
      2. The DevExpress ASP.NET team runs tons of unit and QA tests

      So, I asked Mark to check this knowledgebase search results of similar reported issues and very soon afterwards, Mark solved the issue! Here’s how…

      Hi Mehul,

      I have some good news.  Through the DevExpress knowledgebase I came across someone who said that they were receiving the FORMATETC error because they had projects in VS 2008 that were unloaded – load them all and it fixes the error.  In the solution we’re working on right now we have about 16 “dead code” projects that we keep around for reference, but keep in them unloaded because they won’t build anymore and the error messages get in the way of current code messages.

      So today I removed all the dead code projects from the solution, loaded all of the remaining unloaded projects and presto! I was able to add a DevExpress ASP.NET button and it automagically created the references and the registration tags in the ASPX page.  Now the fun begins!

      We bought two licenses and I’m excited to start adding some DevExpress features to the project.

      Thanks for all your help so far.

      Regards,
      --
      Mark Lauter
      President | SUMO Software Corporation

      Thanks Mark! Your feedback will be help for other developers in a similar jam.

      Visual Studio Rocks!

      I love Visual Studio, especially the latest Visual Studio 2010. Microsoft has created a great IDE and working through these rare errors is well worth the effort.

      Have you faced a similar ‘invalid FORMATETC error’? Drop me a line below with your issue/solution for this error. 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/

    • Video: Robert Boedigheimer Loves jQuery @ #HDC10

      Check out this video interview with ASP.NET MVP, Robert Boedigheimer. I met Robert at the recent Heartland Developers Conference 2010 in Omaha, Nebraska.

      Watch the video interview and learn why Robert loves jQuery:

      Video: Robert Boedigheimer @ #HDC10

      Learn more about Robert Boedigheimer here:

      Thanks Robert!

      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!

    • Custom Dialogs For ASP.NET MVC HTML Editor (coming in v2010 vol 2)

      Good news for you ASP.NET MVC developers who need a good HTML Editor.

      The upcoming DevExpress ASP.NET MVC HTML Editor will also support many of the same great features as the ASPxHtmlEditor like Custom Dialogs!

      ASPNET_HTMLEditor_Custom_Dialogs

      To learn more about this feature, check out this blog post:

      ASP.NET HTML Editor - Custom Dialogs (coming in v2010 vol 2)

      Drop me line below with your thoughts on the DevExpress MVC HTML Editor Extension. 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/

    • Video: Getting Started with GridView Extension in ASP.NET MVC

      Check out this ASP.NET MVC GridView 101 video that walks you through the basics of using the DevExpress MVC GridView extension.

      By watching the video, you’ll also learn how to setup a basic ASP.NET MVC website as well connect a GridView extension to a database:

      image

      In the video, you’ll learn:

      • Basic setup for ASP.NET MVC project
      • Adding a LINQ to SQL model
      • Adding a MVC ViewUserControl
      • Setup a DevExpress MVC GridView extension
      • Add data logic

      Watch the ASP.NET MVC GridView 101 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 fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

    • Webinar Alert! - Getting Started with ASP.NET MVC on September 23, 2010

      [Update: September 23rd, 2010 - Thank you for attending! A video of this webinar will be available soon.]

      Mark your calendars for an introductory ASP.NET MVC webinar with Steve Andrews:

      DevExpress ASP.NET MVC WebinarDevExpress ASP.NET MVC Webinar

      • Subject: Getting Started with ASP.NET MVC
      • Date: Thursday, September 23rd, 2010
      • Time: 10am PDT (GMT -07:00)
      • Length: 1 hour (or so)
      • Presenter: Steve Andrews

      Limited Seats – Register Soon

      I recommend registering soon because there are a limited number of available spots:

      Register here - https://www3.gotomeeting.com/register/885009382

      DevExpress customers, please enter your Customer ID in the optional textbox on the Gotomeeting registration page:

      Webinar DevExpress Customer ID Field

      This webinar will be available offline for later viewing. However, you won’t have the chance to ask live questions through the webinar.

      Webinar Overview

      The ASP.NET MVC Framework provides a powerful Model View Controller (MVC) approach to building web applications and provides separation of concerns, control over HTML output, intuitive URLs, and increased testability.

      We will start by looking at the what and why of ASP.NET MVC. Then we will explore the various pieces of ASP.NET MVC including routes, controllers, actions, and views. 

      Who is Steve Andrews?

      Steve just joined DevExpress as a Developer Evangelist and here’s a brief bio:

      Steve Andrews is a Developer Evangelist for DevExpress, INETA speaker, and Microsoft MVP for Visual Studio ALM. He has been working in technology for over ten years focusing on custom application development and Application Lifecycle Management. Steve is also Microsoft and IBM certified and a community fanatic having led sessions at over 100 community events across North America. When he's not developing software solutions or engaging with the community about software technology, Steve is a closet singer and songwriter and plays the guitar and keys. Occasionally, Steve even gets to sleep.

      Registered Yet?

      I’ll be there to help answer any questions. 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/

    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