Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Using calendar in .net
Liya
Newbie

Posts: 1
Registered: 9/21/2008
Location: Israel
Member Is Offline
posted on 9/21/2008 at 09:27 AM Reply With Quote
Using calendar in .net


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">
<script type="text/javascript" language="JavaScript" src="JScript/calendar/calendar1.js"></script>
<script type="text/javascript" language="javascript">
<!--
var cal1 = new calendar1(document.forms[0].elements["<%=txtFrom.ClientID %>"]);
cal1.year_scroll = true;
cal1.time_comp = false;
</script>
<asp:TextBox runat="server" ID="txtFrom" />
<a href .... >
</form>
View User's Profile View All Posts By User U2U Member
vipasane
Junior Member

Posts: 2
Registered: 1/9/2009
Member Is Offline
posted on 1/14/2009 at 08:41 AM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004