|
Rank: Newbie Groups: Member
Joined: 8/28/2012 Posts: 3
|
I just purchased EO.Web controls 2012 and deployed the website along with the DLL and license file to a test web server. Whenever I navigate to a page with the Calendar/Date Picker control on it, I get a Javascript error "Object doesn't support property or method 'ahm'". How do I fix this? Thank you in advance. the Code for my Calendar control is as follows:
Code: HTML/ASPX
<eo:DatePicker ID="txtDate" runat="server" AllowMultiSelect="False"
OnSelectionChanged="OnControlValueChanged" AutoPostbackOnSelect="True"
ControlSkinID="None" CssBlock="<style type="text/css">
a.eo_calendar_style1_title_button
{
width: 21px;
height: 17px;
padding-top: 2px;
background-color: transparent;
}
a.eo_calendar_style1_title_button:hover
{
width: 21px;
height: 17px;
padding-top: 2px;
background-color: #FF9933
}
</style>
<style type="text/css">
.calendar1 {background-color:#EAEEF2;border-bottom-color:#35ADDF;border-bottom-style:solid;border-bottom-width:2px;border-left-color:#35ADDF;border-left-style:solid;border-left-width:2px;border-right-color:#35ADDF;border-right-style:solid;border-right-width:2px;border-top-color:#35ADDF;border-top-style:solid;border-top-width:2px;border-radius:10px;}
.calendar2 {background-color:#35ADDF;border-bottom-color:#35ADDF;border-bottom-style:solid;border-bottom-width:1px;color:#FFFFFF;font-family:verdana;font-size:11px;font-weight:bold}
.calendar3 {font-family:verdana;font-size:8pt}
.calendar4 {background-color:#FF9933;color:#FFFFFF;font-family:verdana;font-size:8pt}
.calendar5 {color:gray;font-family:verdana;font-size:8pt}
.calendar6 {background-color:#EAEEF2;cursor:pointer;cursor:hand}
.calendar7 {background-color:White;border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;font-family:verdana;font-size:8pt}
</style>
<style type="text/css">
</style>" DayCellHeight="16" DayCellWidth="22" DisabledDates=""
SelectedDates="" VisibleDate="2012-08-01">
<PickerStyle CssText="font-family:Arial, sans-serif;font-size:10pt;margin-left:-5px;height:15px;width:50px;" />
<CalendarStyle CssClass="calendar1" />
<MonthStyle CssClass="calendar6" />
<DayHeaderStyle CssClass="calendar2" />
<DayStyle CssClass="calendar3" />
<DayHoverStyle CssClass="calendar4" />
<SelectedDayStyle CssClass="calendar4" />
<DisabledDayStyle CssClass="calendar5" />
<TitleTemplate>
<table border="0" cellpadding="0" cellspacing="0"
style="background-color:#EAEEF2; font-size: 12px; font-family: verdana; font-weight:bold; "
width="100%">
<tr>
<!-- Previous Year -->
<td>
<a class="eo_calendar_style1_title_button"
href="javascript: void {var:this}.goTo(-12);">
<img src="{img:00040302}" border=0/>
</a>
</td>
<!-- Previous Month -->
<td>
<a class="eo_calendar_style1_title_button"
href="javascript: void {var:this}.goTo(-1);">
<img src="{img:00040301}" border=0/>
</a>
</td>
<!-- Current Month -->
<td align="center" width="99%">
{var:visible_date:MMM yyyy}
</td>
<!-- Next Month -->
<td>
<a class="eo_calendar_style1_title_button"
href="javascript: void {var:this}.goTo(1);">
<img src="{img:00040303}" border="0"/>
</a>
</td>
<!-- Next Year -->
<td>
<a class="eo_calendar_style1_title_button"
href="javascript: void {var:this}.goTo(12);">
<img src="{img:00040304}" border="0"/>
</a>
</td>
</tr>
</table>
</TitleTemplate>
</eo:DatePicker>
****************** EDIT ********************** Setting the PopupImageVisible="false" removes this error, but then I cannot trigger the PopupCalendar to show, even when I set the PopupTrigger to Focus or Click!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Please check the version of your EO.Web.dll. This appears to be a problem that has already been fixed. The latest build should have a DLL version number of 10.0.36.2. If you see anything older than that, please download the latest from our download page and see if the problem still occurs.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 8/28/2012 Posts: 3
|
I do have the latest DLL Version. Running the published website in a different version of IE produces this scripting error :
************************************************** Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Timestamp: Wed, 29 Aug 2012 11:41:49 UTC
Message: Syntax error Line: 1 Char: 1 Code: 0 URI: http://devweb02/TAHPSBC/eo_web.ashx?id=a16feec8-dea4-4ba6-a185-d8987b62e559 **************************************************
My question is ... do I need the eo_web.ashx file? It's currently in the root of my website - does it need to be in the bin?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
The file should be in the root directory and it MUST has anonymous access. As a test, you can copy the above Url to your browser's address bar. If you get JavaScript then it's good, if you get anything else, that should give you information about what's wrong.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 8/28/2012 Posts: 3
|
I get this scripting error when navigating to the eo_web.ashx file in the browser directly on the web server itself. Is this what I should be expecting?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Timestamp: Wed, 29 Aug 2012 13:08:52 UTC
Message: A name was started with an invalid character.
Line: 1 Char: 2 Code: 0 URI: http://localhost/TAHPSBC/eo_web.ashx
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
This doesn't seem to have anything to do with us. Your ASP.NET might not be working correctly. You can Google the message to see if you can find a solution for that.
Thanks!
|
|