Hi,
we have a problem using ExcludedSharedControls functionality on UltraTabControl when using inheritance.
I was able to create sample project and will explain the problem using the sample.
There is BaseForm : System.Windows.Forms.Form. I have placed just UltraTabControl on it. As I want to use the design on other Form I have changed accessibility of controls in BaseForm.Designer.cs.
From:
private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl;private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
To:
protected Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl;protected Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
Now I have created another form MainForm : BaseForm. In design view of Visual Studio 2010 I have created two tabs. I have placed a control on Shared controls page.
Right click on tab2, select Exclude shared controls, select listed control, Apply, OK, Save. Tab1 shows control, tab2 does not.
So far so good.
Close the design view and reopen the file in design view. Tab1 shows control and tab2 also shows control. And this is not good. In MainForm.Design.cs there is still placed code:
ultraTab2.ExcludedSharedControls.AddRange(new System.Windows.Forms.Control[]{this.ultraTextEditor1});
In our project everytime we open such file in design view the code is even deleted.
Can you give us some advice how to overcome the problem? Or is it a bug?
Thank you
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hello kyso,
After the upgrade, did you clean the content of the license file ? When upgrading a project manually, please follow the exact steps, described in the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Upgrading_a_Project_Manually.html
Also you should clean the content of the license file, before cleaning and rebuilding your project.
Please let me know if you have any further questions.
After some time, I was able to check it again.
Infragistics upgraded to latest version 11.2.20112.2050, I have followed your video but no luck agian :(
Buuut. When I run the sample project everything is fine as it should be. Just designer is not working properly.
I am just checking about the progress of this issue. Let me know If you need my further assistance on this matter?
Hello,
Could you please test your sample with the latest release of Infragistics 11.2 (its built number is 2050). I have test your sample with this service release (my operation system is Windows 7(x64), my visual studio is Visual Studio 2010 SP1). I have captured a video what happen on my machine. Also I am sending you the sample (you should rebuild the sample before testing it). Please try this suggestion and let me know for the results.