Ticket Q411356
Visible to All Users

DocumentManager find Form in tabbed view

created 13 years ago

Hi,

My Application has NavBar and manage Forms with DocumentManager.

When click barlink a Form is opened if it closed. If it is already opened I'd like to activate it.

I think need a find/contains function to resolve my issue.

In C#, can anyone help me?

Thanks,

Gaetano

Answers

created 13 years ago (modified 13 years ago)

Hi Oleg,

I've just applied your solution to resolve my issue: it work fine for me!!!

Thanks for your help.

Gaetano.

    Show previous comments (1)
    CO CO
    Cristina Oltean 7 years ago

      Hello.
      I think this example no longer works after it is converted to .Net 4.5 and Devexpress 17.1.4
      Is there a chance you could post an updated example?

      CO CO
      Cristina Oltean 7 years ago

        Never mind that.
        I've just replaced

        C#
        tabbedView1.Controller.AddDocument(Activator.CreateInstance(someType) as Control);

        with

        C#
        tabbedView1.AddDocument(Activator.CreateInstance(someType) as Control);

        and it seems to work.

        Sasha (DevExpress Support) 7 years ago

          Hello Julia,
          I am happy to hear that you found an appropriate solution. Please feel free to contact us in case of further difficulties.

          created 13 years ago (modified 13 years ago)

          Hi Gaetano,
          Thank you for contacting us.
          I have created a simple example that illustrates how the mentioned requirements can be implemented.
          You can find it in the attachment. We look forward to your feedback once you’ve had the opportunity to try this solution.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.