Hello, I'm trying to use calendar in .net c# pages.
and it gives me an error : "Error calling the calendar: no target control specified."
I've searched your forum and tried several options by myself. Nothing works.
Please assist me.
The code is as follows:
<form id="form1" runat="server">
var cal1 = new calendar1(document.forms.elements["<%=txtFrom.ClientID %>"]);
cal1.year_scroll = true;
cal1.time_comp = false;
<asp:TextBox runat="server" ID="txtFrom" />
<a href .... >
Noticed that atleast with IE 6 scripts must be after form closing tag, otherwise in some cases it will be ran too early and it won't fin the form