Demo Application
DmoTeh application included with the product shows the usage of the WebTeh and TE Edit for HTML/Javascript component.
To run the demo application, please unzip the dmo_web_teh.zip file to a folder under the c:\Inetpub\wwwroot directory. Let us say for example that you would unzip this file in the following directory:
c:\Inetpub\wwwroot\demo
You will see the following files unzipped:
| WebTeh.dll | Editor web control. This control generates the 'canvas' tag to host the Teh control within the html page generated by ASP.NET |
| Default.aspx.cs | Source for the demo |
| Defaultj.aspx | The aspx file to be loaded by the client machine. |
| AssemblyInfo.cs | The assembly file for the demo project. |
Now copy the WebTeh.dll file from the demo directory to the c:\Inetpub\wwwroot\demo\bin directory.
Also copy the tejh25.js, ter_hlp.pdf, ter_tlb.gif and wait.gif files to the c:\Inetpub\wwwroot\demo directory (not the bin directory) These files include the code and the support files for the editor. These files gets downloaded by the browser as the client page shows the editor control.
Now you can access the demo from the client machine:
http://www.myserver.com/demo
You can also access the demo application from your own machine:
http://localhost/demo