Bug Report B133994
Visible to All Users

The ASPxGridListEditor throws an exception when using upcasting for an enum type field

created 16 years ago

Enum field upcasting throws error in web application
Evgeniy
Steps to Reproduce:
Add some data in DomainObject2 and go back to DomainObject1 list view.
Actual Results:
The error occured:
Type: ArgumentException
Message: Requested value ' ' was not found.
Data: 0 entries
Stack trace:
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)   at System.Enum.Parse(Type enumType, String value)   at DevExpress.ExpressApp.Web.Editors.ASPx.EnumDataItemTemplate.InstantiateIn(Control container)
at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.AddTemplateToControl(Control destination, ITemplate template, Control templateContainer, TemplateContainerCollection collection, Boolean doDataBinding)
at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.AddTemplateToControl(Control destination, ITemplate template, Control templateContainer, TemplateContainerCollection collection)
at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.AddDataItemTemplateControl(Int32 visibleIndex, GridViewDataColumn column, Control templateContainer)
at DevExpress.Web.ASPxGridView.Rendering.GridViewTableDataCell.CreateControlHierarchy()   at DevExpress.Web.ASPxClasses.Internal.InternalTableCell.CreateChildControls()

Comments (1)
Anatol (DevExpress) 16 years ago

    Hello Evgeniy,
    Thank you for your report, and the test project. I've reproduced this problem by creating DomainObject1, and placed a Call Stack to the Actual Results. We are working on your issue, and will provide you a solution ASAP.
    Thanks,
    Anatol

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.