InfoPath Custom Task Pane

In InfoPath, every control on the form must be bound to an element in the XML document and defined by the underlying schema. This can be limiting when you want to provide some additional assistance to retrieve information and/or populate the form.

One option is to use managed code that displays System.Windows.Forms dialogs launched by a button on the form. This comes at a cost of making development and deployment more complicated.

Another option is to use a Custom Task Pane. A Custom Task Pane in InfoPath is simply an HTML file that is displayed in the Task Pane on the right side of the form. The HTML file can have form controls that are not bound to elements in the XML document. The HTML can also have inline script and the script can call back into the InfoPath object model, including all your functions in the Form code-behind script. So, you don't have to worry about making web service calls from HTML script; you can use InfoPath query adapters.

This page in the InfoPath SDK explains how to use the Custom Task Pane.

Print | posted on Wednesday, January 14, 2004 8:53 PM

Feedback

# Creating Modal Dialogs in InfoPath

left by Drewby at 1/16/2004 8:55 PM Gravatar
A couple days ago, I wrote about the ability to create a Custom Task Pane in InfoPath. You can use a similar technique to show modal dialogs based on an HTML file. In this post, I give a brief overview of how to create and launch a modal dialog in InfoPath.
Title  
Name
Email (never displayed)
Url
Comments   
Please add 4 and 4 and type the answer here: