Task pane change... - InfoPath Dev
in

InfoPath Dev

Task pane change...

Last post 04-09-2006 08:48 AM by Karsten Brocksieper. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-06-2006 09:25 AM

    Task pane change...

    Hello,

    ... with the help of a few samples on this site I´m able to implement a dynamic help in the task pane. But I´m not able by now to change the page which is show in the task pane programmatically.

    Does anyone know if it´s possible to change the task pane page in an event such as "AfterUpdate" or "ContextChange". My aim is depending on the focus to change the task pane page to either a 'normal' HTML-help page or an ASP.Net page with a datagrid filled from a database.

    Thank you for any help on this issue.
    Karsten
  • 04-07-2006 01:07 AM In reply to

    Hi Karsten,
    Do you have code in your InfoPath form? Is it .NET or script? If it is .NET you need an interop assembly for MSHTML. Otherwise, you should be able to get the object for the taskpane from the InfoPath OM and do some stuff to it.
    Patrick Halstead
    Project Manager at Qdabra
  • 04-09-2006 08:48 AM In reply to

    Hi Patrick,

    ...yes, I have JScript code in my form but it would not be a problem to change my form to a .Net enabled solution.
    Yes, you are right. I can get the object for the task pane from the Infopath OM. In my opinion I can access the task pane with the "Commandbar" object. Is this right? Or is there even another object which I can use to access the properties of the task pane.
    But with the "Commandbar" object I haven´t found a way by now to change the name of the HTML page for the task pane.

    Regards,
    Karsten
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.