This is a migrated thread and some comments may be shown as answers.

Invalid Year

1 Answer 177 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jouni
Top achievements
Rank 1
Jouni asked on 03 Feb 2009, 09:26 AM
Hello everyone,

I got interesting Problem.IE gives error Invalid Year, when i try to change year from DatePicker popup. First i explain little bit my problem. I have to kind information. I have header lever and row level information. both type of information contains Rad datepicker called EstimatedDeliverydate. When I change header level date, all the row information must change to same date. This part works fine I update row level information using javascript(See below):



 function OnDateSelected(sender, args)   
 {   
   
     
    var elems = document.getElementById('RadGrid1').getElementsByTagName('input'); 
  
     
     
    for(i=0; i < elems.length ; i++)  
    { 
        if(elems[i].type.toLowerCase() == 'text' && elems[i].id.indexOf('EstimatedDeliveryDate') > -1)  
        { 
            
               
                 alert(); 
                 elems[i].value=args.get_newValue(); 
             
        } 
    } 
  }   

if I now try to push calendar popup button, IE gives me this error message(I mean popup jumps on the screen):
line:1678
char:1
error:invalid year
code:0

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 06 Feb 2009, 09:45 AM
Hello Jouni ,

From the information provided so far I am not able to determine the exact source of the issue you are facing. At this point  you can find more information about Shared RadDatePicker on the following links:
Demo
SharedCalendar Property
Sharing the Embedded Popup Controls

Additionally, if this information is not enough to find resolution of the issue, you can send me a runnable project to investigate the matter further.

Best regards,
Pavlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Jouni
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or