Intersoft Support Center

Use WebExpander with Inline and IFrame Content

You can use custom template to create inline content and header section in WebExpander. You can also use IFrame to create content in WebExpander.

This topic will show you how to use WebExpander with inline and IFrame content.

To use WebExpander with inline content

  1. Right-click on WebExpander control and choose Properties.
  2. Go to ItemCollection and click the collection button.
  3. Add an item. Set HeaderContentMode to Inline and ContentType to Inline.
  4. Right-click on WebExpander control and choose Edit Template >> WebExpander1_item0. WebExpander1_item0 is the default name when creating the 1st item.
  5. Inside content template, you can fill with any content you want. Right-click on the content template and choose End Template Editing to apply the settings.
  6. Run the project.
 ItemSettings property is applicable if user wish to apply this setting to all items in WebExpander.

To use WebExpander with IFrame content

  1. Right-click on WebExpander control and choose Properties.
  2. Go to ItemCollection and click the collection button.
  3. Add an item. Set ContentType to IFrame.
  4. Set ContentURL to any content you want to display.
  5. Run the project.
Previous Next