search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Firebug Error: e is not defined

Asked by Raihan
14 years ago.

Hi,

I'm using the latest version of DayPilot Lite. I'm trying to handle the event click events on the client side using the code from the tutorial section but the event object is not being instantiated.

<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/TestingData.xml">
</asp:XmlDataSource>
<DayPilot:DayPilotCalendar ID="DayPilotCalendar2" runat="server" DataSourceID="XmlDataSource1"
DataTextField="name" DataValueField="id" StartDate="2007-01-01" TimeFormat="Clock12Hours"
DataStartField="Start" DataEndField="End" Days="7" EventClickHandling="JavaScript"
EventClickJavaScript="window.open('PopupDetail.aspx?id=' + e.value() + '&tag=' + e.tag(),
'PopupDetail','width=400,Height=400,top=200,left=200');"></DayPilot:DayPilotCalendar>

Please let me know where I'm going wrong.

Thanks

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.