Find by ID:
Go
[Log in | Register]
Home
Support Center Home
Categories (Beta)
Report Issue
Report a Bug
Make a Suggestion
Ask a Question
Security
Log in
Register
Forgot Password
Support Center Stats

Issue Reports
Total: 43363
Active: 402
Processed: 42961

Suggestions
Total: 17801
Active: 506
Processed: 17295

Questions
Total: 98475
Active: 106
Processed: 98369

1851 Knowledge Base Articles

557 Code Central Examples

Powered by Developer Express AJAX-Enabled ASP.NET components

This website is powered by Developer Express ASP.NET technologies including the ASPxMenu, ASPxNavBar, ASPxTabControl, ASPxSiteMapControl, ASPxPopupControl and the ASPxGridView and Editors Suite.
Database connectivity is via eXpressPersistent Objects.

Knowledge Base Article

How to enable visual inheritance for Developer Express controls when using them in Visual Studio 2005 or in Visual Studio 2008

Article ID: A2912
Product Group: .NET
Product: n/a
Version(s): 6.x, 7.x, 8.x
Updated: 24 Sep 2008
Categories: n/a

Description

In Visual Studio 2005, the Developer Express controls appear as read-only on inherited forms. Is there a way to make them editable and use visual inheritance as in the previous versions of Visual Studio?

Solution

We have found a way to enable visual inheritance in our controls when they are used in Visual Studio 2005 / 2008. We have tested this solution in all the typical visual inheritance scenarios and haven't noticed any failures yet. But we cannot be completely sure that we have chosen the correct approach and thus we don't enable visual inheritance by default. What causes this doubt is that Microsoft disabled visual inheritance for its controls.

There is a DXDesignKeys tool shipped with the DXperience suite. It adds a new key to the registry and is capable of changing its state. When this key is present and enabled, Developer Express controls allow visual inheritance. If it is not present or disabled, visual inheritance is prohibited just as with standard controls (this is the default behavior). To launch the program, select its shortcut from the Start Menu\Programs\Developer Express .NET vX.Y\Tools menu, where X.Y corresponds to your DXperience version.

See Also:
Can I use the grid on an inherited form or user control?
Troubleshooting design-time problems
What is the best way to set the same Look-and-Feel style of the entire application with DXperience for Windows Forms?




Do you have any comments? We are eager to hear them!

How would you rate the quality of this content?

Average rating: 8.67 out of 9
45 people have rated this page
 
 
 
1
2
3
4
5
6
7
8
9
 
Post Your Vote (Login Required)
If you need any clarification with regards to the contents of this article, please don't hesitate to contact our Support Team.