Hi, I am trying out one or your controls (the datepicker) in a new website I am developing. I got it working OK in Visual Studio (2003) in debug mode but am having trouble in the live website. I am not sure if this is a problem with my code or with my installation of EO_Web.
The webpage comes up OK with the 4 datepickers I have defined, however, the error icon in the bottom left if IE 8 shows an error and there are 8 occurrances of the error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 2 Jul 2010 05:02:36 UTC
Message: Unknown runtime error
Line: 6
Char: 11992
Code: 0
URI:
http://www.tdfhub.com/eo_web.ashx?id=9b970985-4fe7-4f7c-952e-592e9c9a18f3The 4 datepicker controls look OK but nothing happens when I click the button for the drop down calendar.
I have eo_web.dll (the 2.0 version as initially I got an error with the 1.1 version and intruction to use 2.0) in the bin directory (version 8.0.15.2) and below is my web.config file.
<configuration>
<system.web>
<customErrors mode="Off"/>
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add assembly="EO.Web, Version=8.0.15.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc"></add>
</assemblies>
</compilation>
<pages>
<controls>
<add assembly="EO.Web, Version=8.0.15.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc" namespace="EO.Web" tagPrefix="eo" />
</controls>
</pages>
</system.web>
</configuration>
Also, after getting a security error, I placed the eo_web.ashx file in the root directory. Contents of this file are:
<%@ WebHandler Class="EO.Web.Runtime" %>
I am not sure if this control is a free control of if I need a license to use it but was hoping to try it out before purchasing a license. Could this be the problem?
Here is the code from my .aspx webpage:
<tr><td colspan="2"> </td></tr>
<tr><td colspan="2">
<label>Start Date: </label><eo:DatePicker style="Z-INDEX: 101; " id="dtpUserEffStart" PickerFormat="dd/MM/yyyy" runat="server"></eo:DatePicker><asp:Label ForeColor="#FF0000" ID="lblUserEffStartError" runat="server"> </asp:Label>
<label>End Date: </label><eo:DatePicker style="Z-INDEX: 101; " id="dtpUserEffEnd" PickerFormat="dd/MM/yyyy" runat="server"></eo:DatePicker><asp:Label ForeColor="#FF0000" ID="lblUserEffEndError" runat="server"> </asp:Label>
<label>Last Access: </label><eo:DatePicker style="Z-INDEX: 101; " id="dtpUserLastAccess" PickerFormat="dd/MM/yyyy" runat="server"></eo:DatePicker><asp:Label ForeColor="#FF0000" ID="lblUserLastAccessError" runat="server"> </asp:Label>
<label>Pwrd Chngd: </label><eo:DatePicker style="Z-INDEX: 101; " id="dtpUserPasswordChange" PickerFormat="dd/MM/yyyy" runat="server"></eo:DatePicker><asp:Label ForeColor="#FF0000" ID="lblUserPasswordChangeError" runat="server"> </asp:Label>
</td>
</tr>
Also at start of page, I have:
<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
Hope you can point me in the right direction to resolve this.
Regards,
Geoff Cagney