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

Finding a control with a RibbonControlAdv by name

Hi

I have an application which has a RibbonControl and various tab items etc on it.

I want to be able to enable or disable a tab or toolstrip button by searching for the control by name.

e.g. Form.Controls.Find("tabHome", True)

This call returns Nothing nor does it appear possible looking into the options within Form.RibbonControlAdv1.Header.MainItems.

Does anyone know how this could be done?

Thanks in advance

Ross


1 Reply

IM Iniyen M A Syncfusion Team August 9, 2011 01:55 PM UTC

Hi Ross,

Thanks for your interest in Syncfusion products.

I have included the simple sample as per your requirement as follows, Kindly have a look on the following sample and let us know if this helps you.

[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=RibbonControlByName787104526.zip

Please let us know if you need further assistance.

We are glad to help you out.

Regards,
Iniyen M.A.



Loader.
Live Chat Icon For mobile
Up arrow icon