After update to 8.3.4 I cannot drag the Validation Module to my Module form
Steps to Reproduce:
Open Module.cs designer, drag Validation Module from Toolbox
Actual Results:
Microsoft Visual Studio message box announces:
"Object reference not set to an instance of an object"
Expected Results:
Validation Module should be added to the Required Modules list
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.
I'm glad you fixed it, do you have a workaround I can use until 8.3.5 is released?
Hello Robert,
Yes, currently, to work around you can manually edit the designer file of your module. For instance, you can add the following code in the InitializeComponent method of the MainDemoModule class in the MainDemoModule.Designer.cs file:
private void InitializeComponent() { //... this.RequiredModuleTypes.Add(typeof(DevExpress.ExpressApp.Validation.ValidationModule)); //... }
Private Sub InitializeComponent() '... Me.RequiredModuleTypes.Add(GetType(DevExpress.ExpressApp.Validation.ValidationModule)) '... End Sub
Thanks,
Dennis