WebExplorePane allows user to replace the pane content from client-side dynamically.
This topic will show you on how to change the inline content of WebExplorerBar.
To change inline content of ExplorerPane
- Add a HTML button and named it "Change InlineContent".
- Add the following code in client-side to implement changing inline content:
JavaScript
Copy Codefunction DoChange() { var expPane = ISGetObject("WebExplorerPane1"); var pane = expPane.Panes.GetNamedItem("WebExplorerBarFile"); pane.ChangeInlineContent("Change Inline Content"); }
- Invoke DoChange() function in onclick event like the following:
JavaScript
Copy Code<input id="Button1" type="button" value="Change InlineContent" onclick="DoChange()"/>
- Run the project. When you click the button, it will change the content in the specified pane.
Related Tutorials
Creating Simple ExplorerPane
Handling Client Side Events