WebTeh Control
WebTeh.dll control is a simple drop-in control to be used within an ASP.NET web application.
This dll is included in the demo_web_teh.zip file. Please unzip this file and copy the WebTeh.dll file to the c:\Inetpub\wwwroot\bin directory.
To use the WebTeh.dll in a web application, create a new web application (or open an existing one) and right click on the 'Web Forms' tab in the Toolbox. Now select the 'Add/Remove new items...' and add the WebTeh.dll control. Now the control will be available for selection in the toolbox.
Now you can select and drop an instances of the WebTeh control on your web application page. The control properties should be set in the PageLoaded method of your ASP.NET app:
protected void Page_Load(object sender, System.EventArgs e) {
// set position and other properties for the control
WebTeh1.Left = 25;
WebTeh1.Top = 40;
WebTeh1.Width = 800;
WebTeh1.Height = 410;
The WebTeh control generates the 'canvas' tag to host the TE edit control in the web page. Here is an example of the 'canvas' tag generated by this control:
<script src="terh32.js"></script>
<canvas id="WebTeh1" width="800" height="410" tabindent="0"
style="position:absolute; left:25px; top:40px; z-index:0; border:1px solid; "
data-word-wrap="true"
data-page-mode="true"
data-print-view-mode="true"
data-fitted-view="false"
data-show-menu="true"
data-show-status-bar="true"
data-show-ruler="true"
data-show-vert-ruler="true"
data-show-tool-bar="true"
data-border-margin="true"
data-rtf-output="true"
data-read-only-mode="false"
data-vert-scroll-bar="true"
data-horz-scroll-bar="true"
data-spell-time-dict-path=""
data-data="{\rtf\i Please type here...}">
Sorry, this browser does not support HTML 5.
</canvas>The terh32.js, ter_hlp.pdf, ter_tlb.gif and wait.gif files must be copied to the application directory for the page to be loaded properly.
The License Key delivered must be copied to a file and placed in your project folder as described in your order delivery e-mail.