Completed
Last Updated: 19 Oct 2015 08:42 by ADMIN
Ewin
Created on: 06 Oct 2015 14:57
Type: Bug Report
0
radcalendar not using binding
I set up an extracted value for my test to use in a coded step. 

SetExtractedValue("Future", DateTime.Today.AddMonths(1).ToShortDateString());

When I bind this extracted value to a step that uses a Radcalendar control, the step is not using the value provided in the extracted value, but is using the information when step was initially recorded. 

I also attempted to have this step use local data source with the same result. 

http://screencast.com/t/cbtxt01n
1 comment
ADMIN
Daniel Djambov
Posted on: 19 Oct 2015 08:41
Telerik: actually it works as expected as seen from your video and after checking locally. The date that was originally recorded in your video shows DateToNavigate 3/31/2016, the extracted value in code tells to navigate 1 month after the current date, which in your video shows execution date to be 10/6/2015 (October 2015), so during execution extracted value is 11/6/2015 (November) and this is what is shown during the breakpoint for the exception - it says it cannot locate date November 6 2015 on the calendar, because it is actually not visible. So basically if DataEnabled property is set to true and SelectedDate is databinded with extracted variable, it works as expected. Please tell me if I made myself clear, or you have any further clarification needs about this one.