 |
|
 |
Hi This is a very useful article. I needed this. thank...!! But i need date format like 25/06/2009. Itis showing... 6/25/2009 12:00:00 AM, i just need 25/06/2009
Thank you
never let you down...always be happy..
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
|
 |
|
 |
hi michael, its nice article i want to ask u that if i want to use Yahoo calendar in my website which is for business purpose then is it free or any licence is required.
atif
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
it is giving this error--- "this.oDomContainer.appendChild(this.border); oDomContainer has no properties "
please help
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
it's because you forget to reference the required javascript file or you referenced them in wrong sequence.
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
This is a really good article but how can I close the calendar because if you click on a date but you want to change your mind and click the date again the box wont move, so I want a close function on this and a some date validation.
As im using this for start date and finish date,both have they own calendars, i want the start calendar to select a date as it does but I want the finished calender to only select a date is is after the previous, visa versa
So that the us doesn't select a date in the finish date thats before the start date.
IS this possible or can you direct me to where I can view this.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Thanks for the posting, it works fine for me by following steps in Yahoo.UI.Calendar Control in ASP.NET Project. but when I convert it to a user control , I got some problems. I add two calendar user controls to my form, I click any one button, two calendars come out. Thanks in advance for any input.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
YAHOO.example.calendar.cal1 = new YAHOO.widget.Calendar( "YAHOO.example.calendar.cal1", "cal1Container");
maybe. this code is fired twice.. It is difficult to say how to fix the error without checking your code. You may probably send the sample to me. I will take a look.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I have the textbox and the image button on one aspx form and then the calendar on another aspx form. how do i get my form to bring over the calendar off of the Calendar form? make sense? do i need to add a class? lost, sorry
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
>>how do i get my form to bring over the calendar off of the Calendar form?
u mean, you wanna sent data from aspx form to calendar form? or you wanna retrieve the data from calendar from?
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
|
 |
|
 |
No. Could you please tell me the example why you need to bind the data to calendar control? thanks.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
 | hi  sarithak548 | 4:33 20 Mar '07 |
|
|
 |
|
 |
ASP.NET Calendar Control in Popup Window
Can anyone pls explain how can I call this javascript ??? is there any HyperLink Event ?
Calling JavaScript Function imgDate.NavigateUrl = "javascript:calendarPicker('document.Form1." + txtDOB.ClientID.ToString() + "');";
Thanks in advance !!!
maparash
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
try like
imgDate.attribute.add("onclick","calendarPicker('document.Form1." + txtDOB.ClientID.ToString() + "');");
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
I'm getting error..
Server Error in '/Application Name' Application. --------------------------------------------------------------------------------
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Help me out... Regards Anant Vijay
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
|
 |
|
 |
Hello
I came across this article for my project as I had problems with ew:CalenderPopup control. The tutorial is very good and well explained.
However I noticed when clicking on the date picker button and the calender pops up. It has the blue arrows for each month to scroll by. Is there anyway I can put an extra arrows to scroll for year by year?
How can this be done please? Can you point me in the right directions of which file and what code to put in please? 
Much appreciated for your help..
Thanks
Newbie....
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Sorry for late reply.. today is holiday.. 
>>Is there anyway I can put an extra arrows to scroll for year by year? ya. you can..
Actually, the base structure of Yahoo.UI.Header is as below.
<table class="yui-calendar" cellspacing="0">
<thead>
<tr>
<th class="calhead" colspan="7">
<div class="calheader">
<a class="calnavleft" style="background-image: url(http://us.i1.yimg.com/us.yimg.com/i/us/tr/callt.gif);"> </a>
February 2007
<a class="calnavright" style="background-image: url(http://us.i1.yimg.com/us.yimg.com/i/us/tr/calrt.gif);"> </a>
</div>
</th>
</tr>
<tr class="calweekdayrow">
<th class="calweekdaycell">Su</th><th class="calweekdaycell">Mo</th><th class="calweekdaycell">Tu</th>
<th class="calweekdaycell">We</th><th class="calweekdaycell">Th</th><th class="calweekdaycell">Fr</th>
<th class="calweekdaycell">Sa</th>
</tr>
</thead>
The HTML above is generated from "renderHeader" function of calendar.js.
YAHOO.widget.Calendar.prototype.renderHeader = function() {
So, If you wanna add somethings (like: close img or another arrow for scrolling year) then you can need to change the "renderHeader" function of calendar.js.
However, If you still have some problems in customizing, please show me the screen shots of what you want the calender look like. I'll try to made some changes in my free time and reply you..
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, no worries for late reply and sorry for asking today when it is a time for relaxation - I agree with you.
I had looked at your reply and I had actually looked in the calender.js and saw the renderHeader function, I got confused whether to duplicate the code within the renderHeader function for the another arrows for scrolling year by year.
I tried to add the screenshot but could't do it....what I am actually hoping to do is where the blue arrows for left and right, they can stay there as it is but I want to add another different coloured arrows next to the left blue arrow and right blue arrow for year.
rather like this << < > >> year month month year
How can renderHeader function be changed? is it duplicating it and changing it? or does it require another function? It looks really complicated.
It would help me how you would change it and I am sure others will appreciate the tip on this.
Thank you for your time and reply on this and this is greatly appreciated.
Thanks
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
Plz check the following.. it's working fine in mozilla firefox.. but not on IE.. i hav to fix that issue.. but i'm quite busy during these days.. i'll take a look this issue as soon as possible.. Sorry for that..
Step #1: Adding two images in Images Folder of Project.
- calltyear.gif
- calrtyear.gif
Note:
Step #2: Changing the default imageroot in YAHOO.widget.Calendar_Core function
YAHOO.widget.Calendar_Core.IMG_ROOT = 'http://localhost/WebCalendarTest/Images';
Step #3: this.Config.Options
this.Config.Options = { MULTI_SELECT : false, SHOW_WEEKDAYS : true, START_WEEKDAY : 0, SHOW_WEEK_HEADER : false, SHOW_WEEK_FOOTER : false, HIDE_BLANK_WEEKS : false, NAV_ARROW_LEFT : YAHOO.widget.Calendar_Core.IMG_ROOT + "callt.gif", NAV_ARROW_RIGHT : YAHOO.widget.Calendar_Core.IMG_ROOT + "calrt.gif", NAV_ARROW_LEFTYEAR : YAHOO.widget.Calendar_Core.IMG_ROOT + "calltyear.gif", NAV_ARROW_ RIGHTYEAR : YAHOO.widget.Calendar_Core.IMG_ROOT + "calrtyear.gif" };
Step #4: this.Config.Style
this.Config.Style = { CSS_ROW_HEADER: "calrowhead", CSS_ROW_FOOTER: "calrowfoot", CSS_CELL : "calcell", CSS_CELL_SELECTED : "selected", CSS_CELL_RESTRICTED : "restricted", CSS_CELL_TODAY : "today", CSS_CELL_OOM : "oom", CSS_CELL_OOB : "previous", CSS_HEADER : "calheader", CSS_HEADER_TEXT : "calhead", CSS_WEEKDAY_CELL : "calweekdaycell", CSS_WEEKDAY_ROW : "calweekdayrow", CSS_FOOTER : "calfoot", CSS_CALENDAR : "yui-calendar", CSS_CONTAINER : "yui-calcontainer", CSS_2UPWRAPPER : "yui-cal2upwrapper", CSS_NAV_LEFT : "calnavleft", CSS_NAV_RIGHT : "calnavright", CSS_CELL_TOP : "calcelltop", CSS_CELL_LEFT : "calcellleft", CSS_CELL_RIGHT : "calcellright", CSS_NAV_LEFTYEAR : "calnavleftyear", CSS_NAV_RIGHTYEAR : "calnavrightyear", CSS_CELL_BOTTOM : "calcellbottom", CSS_CELL_HOVER : "calcellhover", CSS_CELL_HIGHLIGHT1 : "highlight1", CSS_CELL_HIGHLIGHT2 : "highlight2", CSS_CELL_HIGHLIGHT3 : "highlight3", CSS_CELL_HIGHLIGHT4 : "highlight4" };
Step #5: calendar.css
.yui-calendar .calnavleftyear { position:absolute; background-repeat:no-repeat; cursor:pointer; top:2px; bottom:0; width:9px; height:12px; left:2px; } .yui-calendar .calnavright { position:absolute; background-repeat:no-repeat; cursor:pointer; top:2px; bottom:0; width:9px; height:12px; right:2px; } .yui-calendar .calnavleft { position:absolute; background-repeat:no-repeat; cursor:pointer; top:2px; bottom:0; width:9px; height:12px; left:12px; }
.yui-calendar .calnavright { position:absolute; background-repeat:no-repeat; cursor:pointer; top:2px; bottom:0; width:9px; height:12px; right:12px; }
Step #6: YAHOO.widget.Calendar.prototype.renderHeader
this.headerCell.innerHTML = ""; /* Modified By: Michael Sync (http://michaelsync.net) */ //Nav Link for Previous Year if (this.linkLeftYear) { YAHOO.util.Event.removeListener(this.linkLeftYear, "mousedown", this.previousYear); } this.linkLeftYear = document.createElement("A"); this.linkLeftYear.innerHTML = " "; YAHOO.util.Event.addListener(this.linkLeftYear, "mousedown", this.previousYear, this, true); this.linkLeftYear.style.backgroundImage = "url(" + this.Options.NAV_ARROW_LEFTYEAR + ")"; this.linkLeftYear.className = this.Style.CSS_NAV_LEFTYEAR; /* Modified By: Michael Sync (http://michaelsync.net) */ if (this.linkLeft) { YAHOO.util.Event.removeListener(this.linkLeft, "mousedown", this.previousMonth); } this.linkLeft = document.createElement("A"); this.linkLeft.innerHTML = " "; YAHOO.util.Event.addListener(this.linkLeft, "mousedown", this.previousMonth, this, true); this.linkLeft.style.backgroundImage = "url(" + this.Options.NAV_ARROW_LEFT + ")"; this.linkLeft.className = this.Style.CSS_NAV_LEFT; if (this.linkRight) { YAHOO.util.Event.removeListener(this.linkRight, "mousedown", this.nextMonth); } this.linkRight = document.createElement("A"); this.linkRight.innerHTML = " "; YAHOO.util.Event.addListener(this.linkRight, "mousedown", this.nextMonth, this, true); this.linkRight.style.backgroundImage = "url(" + this.Options.NAV_ARROW_RIGHT + ")"; this.linkRight.className = this.Style.CSS_NAV_RIGHT; /* Modified By: Michael Sync (http://michaelsync.net) */ //Nav Link for Next Year if (this.linkRightYear) { YAHOO.util.Event.removeListener(this.linkRightYear, "mousedown", this.nextYear); } this.linkRightYear = document.createElement("A"); this.linkRightYear.innerHTML = " "; YAHOO.util.Event.addListener(this.linkRightYear, "mousedown", this.nextYear, this, true); this.linkRightYear.style.backgroundImage = "url(" + this.Options.NAV_ARROW_RIGHTYEAR + ")"; this.linkRightYear.className = this.Style.CSS_NAV_RIGHTYEAR; headerContainer.appendChild(this.linkLeftYear); /* Modified By: Michael Sync (http://michaelsync.net) */ headerContainer.appendChild(this.linkLeft); headerContainer.appendChild(document.createTextNode(this.buildMonthLabel())); headerContainer.appendChild(this.linkRight); headerContainer.appendChild(this.linkRightYear); //Modified By Michael Sync this.headerCell.appendChild(headerContainer);
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |