We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TabControlAdvWorkspace

Hi!

Im using a TabControlAdvWorkspace in a CAB project.

When I hide all SmartParts in the Workspace, the first one added during initialization still shows, but with no actual tab?

Any info would be appreciated
Hein

10 Replies

MS Mohamed Suhaib Fahad A. Syncfusion Team October 29, 2007 06:08 AM UTC

Hi Hein,

Thanks for your interests in Syncfusion products.

The TabControlAdvWorkspace will get get the corresponding SmartPart object each time you call the Hide(Control smartPart); function. Hence, the tab which is added through the Initialization code will not be hidden. For better usage, you can intialize this tab too along with the other child tabs.

Please let me know if you still find difficulties in this query. If so can you please provide me a simple sample to work on your exact requirements to help you out.

Also you can download the latest beta version of CAB kit from the following locations,

Syncfusion SCSF CAB kit -
~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.syncfusion.com/Product/uploads/v5.2.0.25-Signed_2c100d6c.zip


Syncfusion CAB kit -
~~~~~~~~~~~~~~~~~~~~

http://www.syncfusion.com/Product/uploads/v5.2.0.25-UnSigned_acfaa8a8.zip

Please test with these, as this contains lots of bug fixes in DockableWorkspace and TabControlAdvWorkspace. Please test it and let us know about your feedback to reduce the bugs further. Let me know if you want any more details.

Thanks,
Fahad


HA Hein Albrecht October 29, 2007 07:10 PM UTC

Thanx, will do :)


SH Shay March 2, 2008 05:18 PM UTC

Hi,

Having problems with using DockableWorkspace.
Just wanted to doc a control on another and i keep getting the error:"Control xxx is not enabled for docking..."

BTW,Your VSDemoCAB works fine,only you r using the dockingmanager on the shell,
and i want to use it on a specific view!
Can it be done,and if so,HOW?

Shay



SH Shay March 2, 2008 05:30 PM UTC

Hi again,

Just wanted to note that standard docking is working fine,Its the DockingStyle.Tabbed that is not working well,
Does the dockingmanager has to reside on the ShellForm and can not reside on a dependant View?

Shay



MS Mohamed Suhaib Fahad A. Syncfusion Team March 2, 2008 07:04 PM UTC

Hi Shay,

Thanks for the details.

I have the DockingWorkspace hosted inside a view with tabbed windows. Please check out the sample from the following link,

http://www.syncfusion.com/Product/uploads/CABTest_327f6206.zip

Let me know if this helps you out.

Thanks,
Fahad



MS Mohamed Suhaib Fahad A. Syncfusion Team March 2, 2008 07:09 PM UTC

Hi Shay,

Please check the sample from the following link,

http://websamples.syncfusion.com/samples/CAB/F69388/CABTest.Zip

The previous link is broken. Please let me know if you need any more details.

Thanks,
Fahad



SH Shay March 3, 2008 08:06 AM UTC

Hi Fahad,

Thx.It works fine...i can see my mistake now

Thanks a lot



SH Shay March 12, 2008 04:05 PM UTC



>Hi Shay,

Please check the sample from the following link,

http://websamples.syncfusion.com/samples/CAB/F69388/CABTest.Zip

The previous link is broken. Please let me know if you need any more details.

Thanks,
Fahad



Hi,

I have managed to host tabbed docking windows on a CAB view,but i can not drag those windows...actually there is no VS2005 menue style.when i try to dock my docking windows they disappear.

Shay



SH Shay March 23, 2008 03:23 PM UTC

Do i have to use SyncShellApplication?
What if my application uses SCSF(SmartClientApplication)?
I refuses to load my Profilecatalog

Shay

>

>Hi Shay,

Please check the sample from the following link,

http://websamples.syncfusion.com/samples/CAB/F69388/CABTest.Zip

The previous link is broken. Please let me know if you need any more details.

Thanks,
Fahad



Hi,

I have managed to host tabbed docking windows on a CAB view,but i can not drag those windows...actually there is no VS2005 menue style.when i try to dock my docking windows they disappear.

Shay





MS Mohamed Suhaib Fahad A. Syncfusion Team March 23, 2008 04:58 PM UTC

Hi Shay,

Thanks for the details.

Here are some noted details that you can follow when creating an SCSF project and using it with Syncfusion CAB kit,

-> Override the BeforeShellCreated in your ShellApplication.cs file (present in the Shell project) and the following lines of code,

protected override void BeforeShellCreated()
{
base.BeforeShellCreated();
//Registers Command Adapters.
ICommandAdapterMapService mapService = this.RootWorkItem.Services.Get();
mapService.Register(typeof(BarItem), typeof(BarItemCommandAdapter));
mapService.Register(typeof(TreeNodeAdv), typeof(TreeNodeCommandAdapter));
mapService.Register(typeof(XPTaskBarItemCollectionAdapter), typeof(XPTaskBarCommandAdapter));
mapService.Register(typeof(RibbonControlItemCollectionAdapter), typeof(RibbonControlCommandAdapter));

// Registers UIElement Adapter Factories.
IUIElementAdapterFactoryCatalog catalog = RootWorkItem.Services.Get();
catalog.RegisterFactory(new StatusBarAdvUIAdapterFactory());
catalog.RegisterFactory(new XPMenusUIAdapterFactory());
catalog.RegisterFactory(new TreeViewUIAdapterFactory());
catalog.RegisterFactory(new XPTaskBarItemAdapterFactory());
catalog.RegisterFactory(new RibbonControlItemAdapterFactory());
}

-> All these details would add the related factories and adapters in your SCSF project that will help you in accessing the UIElements present in Syncfusion CAB kit

-> These coding details is also present in the Syncfusion CAB kit source. Browse through the following file,

[Program Files]\Syncfusion\Essential CAB Enabling Kit\Source\Syncfusion.CAB.WinForms\Application\SyncWindowsFormsApplicationBase.cs

-> Inside this file, you can find the details in the overrided function "AfterShellCreated".

This would plug all the necessary Syncfusion CAB libraries into your project. Please let me know if you want any more details.


Please let me know if you want any more details.

Thanks,
Fahad


Loader.
Live Chat Icon For mobile
Up arrow icon