![]() |
Admin 6/17/2020 |
I kind of miss the question here. |
I
|
i.NoLim author 6/18/2020 |
I kind of miss the question here. Is this what you looking for: https://xlinesoft.com/phprunner/docs/setallowedinterval.htm
|
![]() |
Admin 6/19/2020 |
So your question is how to pass data from C# event to Javascript so you can disable some days? |
I
|
i.NoLim author 6/23/2020 |
I haven't been able to resolve this yet but I'll keep trying. message = "Pick up day: " + values["PickupDay"].DayOfWeek;
message = "Pick up day: " + CommonFunctions.getdayofweek(values["PickupDay"]); |
![]() |
FrankR_ENTA 6/23/2020 |
I haven't been able to resolve this yet but I'll keep trying. Is there a way to find out the day of the week for an input field? Similar to this and this. I already tried doing the following but I received a "'runnerDotNet.XVar' does not contain a definition for 'DayOfWeek'" error. message = "Pick up day: " + values["PickupDay"].DayOfWeek;
message = "Pick up day: " + CommonFunctions.getdayofweek(values["PickupDay"]);
|
I
|
i.NoLim author 6/23/2020 |
"Pick up day: " is a string. The return type from that CommonFunctions function is probably an XVar. Add a .ToString() to the end of that line, and see how that changes things. Better yet, tell us the datatype of values["PickupDay"] and we can identify a C# way to do this.
|
![]() |
Admin 6/23/2020 |
values["PickupDay"] has the datatype of XVar. You need to convert it to DateTime object first in order to use the DayOfWeek property. |
I
|
i.NoLim author 6/23/2020 |
values["PickupDay"] has the datatype of XVar. You need to convert it to DateTime object first in order to use the DayOfWeek property.
|