|
Rank: Member Groups: Member
Joined: 7/23/2007 Posts: 13
|
It used to be where in the the code behind on a asp.net 2.0 page Me.AssembledDatePicker.SelectedDate = Today the calendar would retain the current month. Now it reverts back to 1/1/0001. Any idea's.
Duane S.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you create a test page that demonstrates the problem? We tested and it seems to be working fine here.
Thanks
|
|
Rank: Member Groups: Member
Joined: 7/23/2007 Posts: 13
|
ASP Page
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <eo:datepicker id="AssembledDatePicker" runat="server" disableddates="" selecteddates="" style="font-size: 11pt; left: 196px; font-family: Arial; top: -39px; font-weight: normal;" ControlSkinID="None" DayCellHeight="16" DayCellWidth="22" DayHeaderFormat="Short" MonthSelectorVisible="True" TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" WeekSelectorVisible="True" DisableTextBox="True"> <calendarstyle csstext="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;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white"></calendarstyle> <selecteddaystyle csstext="background-image:url('00040105');color:white;" /> <monthstyle csstext="FONT-SIZE: 8pt; MARGIN: 0px 4px; FONT-FAMILY: Arial; cursor:hand"></monthstyle> <dayheaderstyle csstext="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Arial" /> <daystyle csstext="text-decoration:none;" /> <disableddaystyle csstext="COLOR: gray"></disableddaystyle> <todaystyle csstext="background-image:url('00040106');"></todaystyle> <titlestyle csstext="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Arial; BACKGROUND-COLOR: #0054e3" /> <footertemplate> <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Arial""> <img src="{img:00040106}" alt="Calendar"/> Today: {var:today:MM/dd/yyyy} </div></footertemplate> <dayhoverstyle csstext="text-decoration:underline"></dayhoverstyle> <PickerStyle CssText="font-family:Arial;font-size:11pt;font-weight:bold;" /> </eo:datepicker> </div> </form> </body> </html>
Code Behind Page
Partial Class Default2 Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Me.AssembledDatePicker.SelectedDate = Today End Sub End Class
Duane S.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Do you mean while the date picker label shows the correct date, but the drop down shows 1/1/01?
Thanks
|
|
Rank: Member Groups: Member
Joined: 7/23/2007 Posts: 13
|
Yes Sir
|
|
Rank: Member Groups: Member
Joined: 7/23/2007 Posts: 13
|
EO. Support,
Can you tell me if there are any work arounds for now until this problem is resolved.
Duane S.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe we have already fixed this problem internally. So hopefully we can get you a new build very soon. Unfortunately we do not have any workaround for the problem. Sorry about that!
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that addressed this issue. Please see your private message for download location.
Thanks!
|
|