Welcome Guest Search | Active Topics | Sign In | Register

EO calendar with firefox Options
matteosister
Posted: Thursday, March 6, 2008 5:19:38 AM
Rank: Newbie
Groups: Member

Joined: 3/6/2008
Posts: 3
I have a asp.net/c# website with the EO calendar on it....

here is the code that handle calendar:

Quote:

<eo:calendar id="CalDataLista" runat="server" controlskinid="None" daycellheight="15" daycellwidth="31" dayheaderformat="Short" disableddates="" onselectionchanged="CalDataLista_SelectionChanged" othermonthdayvisible="True" selecteddates="" titleformat="MMMM, yyyy" titleleftarrowimageurl="DefaultSubMenuIconRTL" titlerightarrowimageurl="DefaultSubMenuIcon" visibledate="2007-08-01" AutoPostbackOnSelect="True" AllowMultiSelect="False" Width="338px" >

<DisabledDayStyle CssText="color: gray"></DisabledDayStyle>
<SelectedDayStyle CssText="background-image:url('00040403');color:Brown;"></SelectedDayStyle>
<TitleArrowStyle CssText="cursor: hand"></TitleArrowStyle>
<MonthStyle CssText="cursor:hand;font-family:Verdana;font-size:8pt; margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;"></MonthStyle>
<CalendarStyle CssText="BORDER-RIGHT: silver 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: silver 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: silver 1px solid; COLOR: #2c0b1e; PADDING-TOP: 5px; BORDER-BOTTOM: silver 1px solid; BACKGROUND-COLOR: whitesmoke">
</CalendarStyle>
<DayHoverStyle CssText="background-image:url('00040402');color:#1c7cdc;"></DayHoverStyle>
<TodayStyle CssText="background-image:url('00040401');color:#1176db;"></TodayStyle>
<FooterTemplate>
<table style="font-size: 11px; font-family: Verdana" border="0" cellSpacing="5" cellPadding="0">
<tr>
<td width="30"></td>
<td valign="center"><img src="{img:00040401}"></td>
<td valign="center">Today: {var:today:dd/MM/yyyy}</td>
</tr>
</table>
</FooterTemplate>
<TitleStyle CssText="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 8.75pt; PADDING-BOTTOM: 5px; COLOR: navy; PADDING-TOP: 5px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #cddcf5">
</TitleStyle>
<DayHeaderStyle CssText="border-bottom: #f5f5f5 1px solid"></DayHeaderStyle>
<DayStyle CssText="BACKGROUND-COLOR: #CCCCCC" />
<DesignOptions BackColor="#EEEEEE" />
</eo:calendar>



the problem is that with IE 6 and IE 7 everything work fine....

With firefox the clic event on the calendar date do not generates anything....

Is there anything that needs to be done in order to make it work also with firefox?
Any ideas?

Many thanks in advance.
eo_support
Posted: Thursday, March 6, 2008 5:41:11 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Thanks for posting in the forum. Can you explain what you mean by "the clic event on the calendar date do not generates anything...."? What client event? Who should generate what? Please include step by step details.

Thanks

matteosister
Posted: Thursday, March 6, 2008 5:59:43 AM
Rank: Newbie
Groups: Member

Joined: 3/6/2008
Posts: 3
in the calendar there are these properties

AutoPostbackOnSelect="True"
onselectionchanged="CalDataLista_SelectionChanged"

this function do:

assign the datetime from the calendar to a variable.
query the database and bound to a datagrid on the same page:
rptCorse.DataSource = dv;
rptCorse.DataBind();


the code works fine, because in ie7 and ie6 all is fine.

In firefox it seems like the AutoPostbackOnSelect do not work...

I placed a debug point inside the "CalDataLista_SelectionChanged" function and, when debuggin with explorer, I arrive there. With firefox I don't.
eo_support
Posted: Thursday, March 6, 2008 6:24:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This appears to have to do with other contents in your page. We tried your code in both ASP.NET 1.1 and 2.0 by creating an empty page and then copy your code in it, and they both work fine. We tried it with the latest build, so you might want to check that first. Please try the same and let us know how it goes.

Thanks

matteosister
Posted: Thursday, March 6, 2008 6:38:31 AM
Rank: Newbie
Groups: Member

Joined: 3/6/2008
Posts: 3
ok,

many thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.