Home Search Member List Faq Register Login  
UltimateCalendar
client api question

Thread Starter: love_munch   Started: 04-04-2007 11:06 PM   Replies: 1
 Karamasoft Support Forums » General Discussions » UltimateCalendar » client api question
 Printable Version    « Previous Thread   Next Thread »
  04 Apr 2007, 11:06 PM
love_munch is not online. Last active: 4/10/2008 5:22:49 PM love_munch

Top 10 Posts
Joined on 09-26-2006
Posts 30
client api question
can i iterate the ultimatecalendar collection without knowing the id's of the calendars?  i tried to call

UltimateCalendars.length

but got 'undefined'.

what i'm trying to accomplish is this:

i have created my own version of your datepicker, using my own textbox and your calendar control  i have multiple datepickers on one form.  when i open one calendar, i want any other calendar to close.  are all my calendars added to one ultimatecalendar collection automatically?

  
  05 Apr 2007, 12:04 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: client api question
UltimateCalendars is a JavaScript "associative array" (hash) and you can iterate through its properties (to determine each UltimateCalendar id) as follows:

for (var ucId in UltimateCalendars)
{
  alert(ucId);
}


  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » UltimateCalendar » client api question

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.