Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Did the call using @CurrentPage. DateRange. StartDate, I returned the following error:
Microsoft.CSharp. RuntimeBinder. RuntimeBinderException: ' string ' does not contain a definition for ' StarDate '
If I put only @CurrentPage. DateRange ai returns the date e.g. 2016-02-24T10:02:41,2016-02-25T10:02:41.
Have any solution for this problem?
Thank you
Haven't worked on this for a while, so not tested on newer Umbraco versions. Have you tried the "strongly typed" method of getting the StartDate ie.
var dateRange = Model.Content.GetPropertyValue<Diplo.DateRangePicker.DateRange>("dateRange");
Your date is @dateRange.StartDate
@dateRange.StartDate
?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Help Error for Umbraco 7 "' string ' does not contain a definition for ' StarDate '"
Did the call using @CurrentPage. DateRange. StartDate, I returned the following error:
Microsoft.CSharp. RuntimeBinder. RuntimeBinderException: ' string ' does not contain a definition for ' StarDate '
If I put only @CurrentPage. DateRange ai returns the date e.g. 2016-02-24T10:02:41,2016-02-25T10:02:41.
Have any solution for this problem?
Thank you
Haven't worked on this for a while, so not tested on newer Umbraco versions. Have you tried the "strongly typed" method of getting the StartDate ie.
Your date is
@dateRange.StartDate
?
is working on a reply...