Home What's New
User Manual |
4.1 Event Handling XUpload fires events on every major occasion such as the beginning and end of an upload, addition and deletion of files, sorting, errors, etc. With the help of JavaScript, your web page can handle some or all of the events. The following example replaces the default Reply from the Server message by handling the ServerReply event: By tapping into the UploadProgress and WaitingForReply events, you can implement a DHML-based customized progress bar which will reside on the same page as the control itself. The following code sample demonstrates a simple custom progress bar: 4.3 Using XUpload as a Server Component XUpload can be used as a server component within an ASP/ASP.NET environment. Just like any COM object, XUpload.ocx needs to be registered on the server using regsvr32. The ProgID to be passed to Server.CreateObject is "Persits.XUpload". To include XUpload in your VB project, run Visual Basic, open or create a project, then go to Projects/Components. Check the box next to Persits Software XUpload Control, then click OK. The control's icon (a blue dotted square) appears on the VB Toolbox. XUpload allows programmatic access to currently selected files via the SelectedFiles property. This property returns a collection of SelectedFile objects, each representing a file item on the list. 4.6 Shell Extension Discontinued We have decided to discontinue supporting the Shell Extension functionality starting with Version 3.0 onwards.
Copyright © 1998 - 2010 Persits Software, Inc. All Rights Reserved. XUpload™ is a trademark of Persits Software, Inc. |