ESweb Configuration
1. Login ESWeb from other login page
The Id of user control on login page is set to "txtUser", and the Idˇˇof
password control is set to "txtPwd".
The URL of submit page is "http://homepage/esweb/main/login.aspx".
Sample code:
<form method="post" id="form1" action="http://diaowl/esweb/main/login.aspx">
<table border="1" width="300" cellspacing="0" cellpadding="4">
<tr>
<td width="42%">User: </td>
<td width="58%">
<input name="txtUser" id="txtUser">
</td>
</tr>
<tr>
<td width="42%">Password: </td>
<td width="58%">
<input type=password name="txtPwd" id="txtPwd">
</td>
</tr>
<tr>
<td width="42%"></td>
<td width="58%">
<input value="Login" type="button">
</td>
</tr>
</table>
</FROM>
2. Display /hide the text box of Server in login page.
The install default is to display the text box of Server in login page.
2.1 Open the file Web.config in the folder X:\inetput\wwwroot\esWeb by notepad,
X is the harddisk installing Excel Server.
2.2 Find <add key="ShowDBServer" value="1" /> :
If value=0, then the text box of Server is hided in login page.
If value=1, then the text box of Server is displayed in login page.
3.Predefine the name of database
The default name of database is the name of server installed Excel Server.
If you want to change the name of database, refer the following:
3.1 Open the file Web.config in the folder X:\inetput\wwwroot\esWeb by notepad,
X is the harddisk installing Excel Server.
3.2 Find <add key="DBServer" value="" /> :
Value="your DB server name".
4. Use 1000 separator(,) in ESWeb
4.1 Open the file Web.config in the folder X:\inetput\wwwroot\esWeb by notepad,
X is the harddisk installing Excel Server.
4.2 Find <add key="IfHasComma" value="0" /> :
If value=0, then 1000 separator(,) is used in ESWeb.
If value=1, then 1000 separator(,) is not used in ESWeb.
5. Copying data/saving image option in ESWeb
5.1 Open the file Web.config in the folder X:\inetput\wwwroot\esWeb by notepad, X is the harddisk installing Excel Server.
5.2 Find <add key="NoCopy" value="0"/>, if value=0, enable copying data and saving image as file ; if vaule=1, no copying data and saving image as file.
6. Header style of data is wrapped in ESWeb
6.1 Open the file Web.config in the folder X:\inetput\wwwroot\esWeb by notepad, X is the harddisk installing Excel Server.
6.2 Find <add key="HeaderStyleWrap" value="0"/>, if value=0, the head style of data is not wrapped ; if vaule=1, the head style of data is wrapped .
7. Use date/time picker in ESWeb when filling the data cell of date/time type.
(1) Go to the path where ESWeb documents was installed, such as “C:\inetpub\wwwroot\esWeb”,
then open the file "Web.config" using an editor such as Windows notepad.
(2) Locate the line of this form: “<add key="useDateControl" value="1"/>”.
(3) Change the "value=" part as needed.
0: do not use date/time picker
1: use date/time picker (the default option)