I use this code but don't popup the PopupNew.aspx giv me this error: Microsoft JScript runtime error: 'start' is undefined, i don't know where i make mistake? Can you help me what i need to write in code?:
<%@ Page Title="" Language="C#" MasterPageFile="~/Pocetna.Master" AutoEventWireup="true" CodeBehind="Events.aspx.cs" Inherits="Rezervacii.Events" %>
<%@ Register assembly="DayPilot" namespace="DayPilot.Web.Ui" tagprefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
function openPopup(start, end, column) {
window.open('PopupNew.aspx?start=' + DayPilot.ds(start) + '&end=' + DayPilot.ds(end) + '&column=' + column, 'NewEvent', 'width=400,Height=400,top=200,left=200');
}
</script>
<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server"
BusinessEndsHour="19" DataEndField="eventend" DataStartField="eventstart"
DataTextField="name" DataValueField="id" Days="7" TimeFormat="Clock24Hours"
TimeRangeSelectedHandling="JavaScript"
onbeforeeventrender="DayPilotCalendar1_BeforeEventRender"
TimeRangeSelectedJavaScript="openPopup(start, end, column);" />
</asp:Content>