Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Artem.Votincev edited this page Apr 15, 2015 · 1 revision

Table of Contents

Introduction

Usage of this plugin is simple. Please check you have all [Requirements] before you start.

Details

This plugin have client and server sides, that should be configured to use this plugin.

Client side

To use this plugin you will need to include jquery.serverBrowser.js file with other jQuery js files on the page.

After this you will need to put a button on the page. This button will trigger main plugin action, and will show server browser dialog. Also you will need to create textbox to store result from dialog box.

Then you will need to run plugin with this script:

For more configuration parameters see [PluginConfiguration] wiki page

Server side

This plugin will create 'get' request to the server with the following parameters:

action - specify the action of the plugin (always 'browse')

path - path, which childs should be returned to a client

time - tics on the client

As a result of this request should be the list of the childs in the json format.

Asp.Net code for this action can be the following:

In this example !BrowsePath is the definition of the objects that will be serialized into json format that plugin can use. For detailed information see [ServerResponse] wiki page

Clone this wiki locally