First off, I think the dynarch calendar is quite wonderful, and I've
been using it for months.
I'm having some issues with form inputs in rows, and initializing the
calendar.
My fields, and inputs and buttons are all uniquely named ####1,
####2, etc.
My text input (datetime), which I have pre-populated, is similar to
MySQL format, but without the year: MM-DD hh:mm
I have never initialized the dynarch calendar (DC), before but it has
somehow initialized itself.
Just as a note, my html/form with rows has been by xml/xsl and I've
done a work around to call Calendar.setup( ) for each row. It seems
my 1st and last row, have the calendars initialized correctly ( using
2006 for current data ) but rows 2-(MaxRow-1) show odd years when
clicked: 1949 and 1950, etc.
I'll need some algorithm eventually, so when working in December and
specifying month 01 that the following Year, will be assumed.
Mihai Bazon, in the DC docs, shows a "date" initialization parameter,
to easily set.
I'm expirementing with the JS Date object and hope to include hh:mm as
well.
Any users have initialization issues, or know how it initializes
without the "date" param ?
My setup looks like this:
function CalByRowImpl(ro w) {
Calendar.setup( {
inputField : "appt"+row, // ID of the input field
ifFormat : "%m-%d %H:%M", // the date format
button : "butAppt"+r ow, // ID of the button
showsTime : "true",
timeFormat : "12",
cache : "true",
step : "true"
} );
} 1 3131
any opinions on this ?
I tried passing a Date Object as a param, as documented, but this did
not help. I'm guessing that the input field value, takes precedence
and somehow the HH:MM value is being interpreted as the Year.
I've also tried using one of the recipies
1) Hidden field with the value (MySQL format)
2) Span or Text field, for visual display
3) button, to trigger
(again, I'm using unique id's for each element)
it requires passing more parameters to Setup (the id's and formats of
the fields) but looks promising.
new**: Span seems to work fine (as example shows), but Text does not.
RT error occurs on click, for Date Selection, and DC does not close.
more to come .... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shyguy |
last post by:
Is it possible to create a calendar that shows previous input data and
also allows for input of new data?
|
by: Subba Rao via DotNetMonster.com |
last post by:
---------------------------HTML----------------------------------------
<html>
<head>
<title>:: DHTML Table Demo ::</title>
<script langauge="javascript" src="InterchangeRows.js"></script>
<style>
.mainTable {
background-color: black;
color: white;
font-face: tahoma;
|
by: Wyatt70 |
last post by:
I'm attempting to implement a javascript popup calendar in a DataGrid.
The calendar will be used to insert a date into a textbox. I keep
getting a "System.NullReferenceException: Object reference not set to
an instance of an object" error, which points to the following line:
lnkCalendar.Attributes("OnClick") =
String.Format("window.open('Calendar.aspx?textbox={0}','cal','...')",
txtEstimatedDeploy)
Here is the complete code for the...
|
by: todd.freed |
last post by:
Hi All,
I am using the <asp: Calendar> object. In the OnDayRender event handler
I am putting text into certain day boxes, and leaving others blank. The
effect is that some months have no additonal text rendered, some months
will have 2 weeks(rows) with no additional content and 1 week with 2 or
3 rows of rendered text. Essentially, the size of the Calendar
fluctuates depending on the data im rendering.
Setting the width property is...
|
by: cassbiz |
last post by:
I downloaded this calendar off the web and am trying have it show twice, once as calendar.php and the second time as calendar1.php
I need the visitor to be able to select a beginning date and an ending date. Here is the primary page that I have
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Your Title</title>
| |
by: Robbo |
last post by:
Hi,
I am creating html pages with forms where I use Dynarch menu script in a
context menu mode. Their script needs to be initialized like this:
<body onload="DynarchMenu.setup('menu', { context: true });">
This is in the beginning of the html page.
But, in my webpages I have only few pages where I actually use this kind of
menu. Since I use smarty template engine, I have single html-header file for
all pages - it includes the same...
|
by: abhishekbrave |
last post by:
The code below is opening a calendar on mouse over in the same window.
I need the calendar to be opened in new window.
Have to fulfill this requirement urgentely so posting the whole code here.
I tried doing some workaround using window.open() but not getting the calendar in new window.
<html>
<head>
<script language="JavaScript">
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |