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.
Unfortunately, activation email could not send to your email. Please try again.

TabControlAdvWorkspace

Thread ID:

Created:

Updated:

Platform:

Replies:

69388 Oct 25,2007 05:51 PM Mar 23,2008 12:58 PM General Discussion 10
loading
Tags: General Discussion
Hein Albrecht
Asked On October 25, 2007 05:51 PM

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

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On October 29, 2007 02:08 AM

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

Hein Albrecht
Replied On October 29, 2007 03:10 PM

Thanx, will do :)

Shay
Replied On March 2, 2008 12:18 PM

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


Shay
Replied On March 2, 2008 12:30 PM

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


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On March 2, 2008 02:04 PM

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


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On March 2, 2008 02:09 PM

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


Shay
Replied On March 3, 2008 03:06 AM

Hi Fahad,

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

Thanks a lot


Shay
Replied On March 12, 2008 12:05 PM



>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


Shay
Replied On March 23, 2008 11:23 AM

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




Mohamed Suhaib Fahad A. [Syncfusion]
Replied On March 23, 2008 12:58 PM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;