Hello,
I've tried DayPilot Lite, then tried DayPilot Pro Trial, and loved it... so i've purchased 4.3.13 version ... but im stucked here with a little problem...
Im using a DayPilotCalendar and a button ... on the button action i have this code :
If DayPilotCalendar1.Visible = True Then
DayPilotCalendar1.Visible = False
Else
DayPilotCalendar1.Visible = True
End If
And the calendar is defined this way :
<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server"
ContextMenuSelectionID="" ViewType="Days" Days="7" Direction="Auto"
TimeFormat="Clock24Hours" StartDate="2008-01-01" DataEndField="ACTTIME" DataSourceID="sqlDSActividades" DataStartField="ACTDATE" DataTextField="ACTDESCRIPTION" DataValueField="ACTID">
</DayPilot:DayPilotCalendar>
The problem is... if i use the property "Visible" and set it to false, here in the definition, when i click the button, the calendar turns visible but empty and with the label "Loading..." on the top of it!
Im using all this controls inside an ajax update panel!
Is this a bug? Can you help me solving this ? Thank you!!!
André Ferreira
-
1/3/2008 11:44:42 AM
I've forgot to say that i get a JavaScript error when i click the button to put the calendar visible...
The error says 'DayPilotCalendar is undefined'
Thank you!
André Ferreira
-
1/3/2008 12:06:54 PM
I tried to create a really simple page with an UpdatePanel with a Button and a DayPilotCalendar inside and it works fine. It might be related to something else on your page.
Can you send me your .aspx and .aspx.vb file to daypilot @ annpoint.com? I will take a look at it.
I was wondering if you'd found a solution to this?
I have the same problem.
An ajax update panel containing a DayPilotCalendar and a DayPilotMonth
Based upon user selection then one is hidden and the other displayed.
However the one that has visible=false during the initial page load is never be displayed again when visible is set to true.
I have confirmed that the code works (basically by always displaying both).
Any ideas?
thanks
Steve65
-
1/21/2008 3:50:16 PM
thanks Dan, I'll look forward to it!
Steve65
-
1/21/2008 7:22:01 PM
Just for info Dan, unfortunately the new DaypilotSchedulerDynamic control seems to have this same Ajax UpdatePanel Visibility problem.
Steve65
-
1/28/2008 12:27:02 PM