Dynamic Help with C1InputPanel

Posted by: Charles.Jimenez on 23 August 2018, 2:53 am EST

  • Posted 23 August 2018, 2:53 am EST

    Hi,

    I am not able to open Help topics assigned to the individual components of a C1InputPanel when I use the DynamicHelp method:

    ShowTopicForActiveControl

    It always opens the topic assigned to the C1InputPanel itself.

    Is there some other setting required to make this happen?

    Thanks,

    Charlie
  • Marked as Answer

    Replied 23 August 2018, 4:55 pm EST

    Hi Charlie!

    As you already know, the ShowTopicForActiveControl method shows topic for the active control (currently in focus). When a component (derived from Component class and not from Control class) inside C1InputPanel control is focused, then the active control at this moment is C1InputPanel only. This is why you are seeing help topic for C1InputPanel control itself, on focusing any of its components.

    Now, in order to show help topic for focused component in C1InputPanel, you can try ShowTopic method of C1DynamicHelp in GotFocus event of the component.
    private void InputButton1_GotFocus(object sender, EventArgs e)
    {
    c1DynamicHelp1.ShowTopic("WordDocuments/overview.htm");
    }

    Here, you can check condition(s) for showing help topic as per your needs.

    Best regards,
    Meenakshi
  • Replied 24 August 2018, 2:27 am EST

    Hi Meenakshi,

    OK, thank you very much,

    Charlie
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels