Intersoft WebDesktop Documentation
Creating Simple ExplorerPane
See Also Send Feedback
Intersoft WebDesktop > WebExplorerPane > Tutorials > Creating Simple ExplorerPane

Glossary Item Box

Objectives

This tutorial demonstrates how to create a simple ExplorerPane using WebExplorerPane Designer. There are 3 modes for the content which are UseItems, UseInlineContent and UseIFrame.

  1. Drag WebExplorerPane from Toolbox into a WebForm page.
     


  2. Right-click on the WebExplorerPane and choose WebExplorerPane Designer.
  3. In the designer, choose Panes. Set ContentMode to UseItems, CaptionDisplayMode to TextAndImage and set the Image URL.



  4. Click PaneItems (collection) and the WebExplorerBarItem Collection Editor dialog appears.
  5. Set the bar Items respectively like the following snapshot. Now, you have learned how to create an explorer bar with UseItems as the ContentMode.



  6. Go back to WebExplorerPane Designer. Add a new WebExplorerBar and set ContentMode to UseInlineContent.



  7. In the HTML code, add the following code-snippet under ContentTemplate:
    Script Copy Code
    <ISWebDesktop:WebExplorerBar ContentMode="UseInlineContent" name="WebExplorerBar1" 
    text="File and Folder Tasks">
    <ContentTemplate>
    <table style="margin: 3px">
    <tr>
    <td>
    <img src="Images/newfolder.gif" />
    </td>
    <td>
    Make a new folder
    </td>
    </tr>
    <tr>
    <td>
    <img src="Images/publishthisfolder.gif" />
    </td>
    <td>
    Publish this folder to the Web
    </td>
    </tr>
    <tr>
    <td>
    <img src="Images/sharethisfolder.gif" />
    </td>
    <td>
    Share this folder
    </td>
    </tr>
    </table>
    </ContentTemplate>
    </ISWebDesktop:WebExplorerBar>

  8. Now, you have learned how to create an explorer bar with UseInlineContent as the ContentMode.
  9. Again, go back to WebExplorerPane Designer. Add a new WebExplorerBar and set ContentMode to UseIFrame and ContentURL to http://www.google.com like the following snapshot.



  10. Run the project and you will see something like following.

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.