Hi All,
I am new to ASP.NET MVC and Single Page Application, I am trying to develop a SPA for managing member's information.
At the moment I am trying to add a new View for typing in the Member's Personal Info and needed a field for Date Of Birth, the field can either be a formatted TextBox or a DatePicker.
Here is what I have got so far in the cshtml:
I am not sure what tag to use for Formatted TextBox or DatePicker, most of the examples from Google searches on Razor / cshtml seems to use the native Razor markups so I am not sure what to use here.
Please Help!
Thank you very much.
Paul
1 Answer(s)
-
0
Hi,
This topic is not related to ASP.NET Boilerplate actually. You can use any datetimepicker here.
Don't mind razor thing on SPAs. It's just a beauty of ASP.NET Boilerplate to use razor in views. We could use plain .html files.
You can use angular-ui datepicker for example: <a class="postlink" href="https://angular-ui.github.io/bootstrap/#/datepicker">https://angular-ui.github.io/bootstrap/#/datepicker</a> or even you can use jQuery based date pickers.