Upgrading MonoRail - $HtmlHelper.InputFile & $HtmlHelper.DateTime missing?

StackOverflow https://stackoverflow.com/questions/2935861

  •  05-10-2019
  •  | 
  •  

문제

I upgraded MonoRail to the latest version and now $HtmlHelper.InputFile and $HtmlHelper.DateTime don't get parsed. Were these removed and are there equivalents for these now?

Thanks, Justin

도움이 되었습니까?

해결책

$HtmlHelper.InputFile is now $FormHelper.FileField.

It appears that $HtmlHelper.DateTime is gone, even though I see documentation for it and haven't seen anything online indicating that it has been removed. I ended up replacing it with a textbox and using a jQuery date picker.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top