ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Timepicker not getting filled after selecting time on a partial view
Title:
B
I
{code}
?
Below is my view code for Timepicker, this view is partial view @(Html.Awe().AjaxRadioListFor(o => o.SelectedTime) .TimePicker(o => o.Caption("time please").Step(30)).CssClass("digi-ScheduleTime")) Here SelectedTime is string datatype, on selecting the value from time picker dropdown it is not getting displayed as selected, instead blank is displayed. Similarly preselected value from backend controller is not getting displayed in timepicker control. This view is a partial view. Please guide
Save Changes
Cancel
SalesARM
asked at 17 Aug 2023
Answers
B
I
{code}
?
Try using the new timepicker control https://demo.aspnetawesome.com/DatePickerDemo#TimePicker You can also do this: https://www.aspnetawesome.com/learn/mvc/CommonProblems#Isolate-the-problem So we could have a look
Save Changes
Cancel
Omu
answered at 17 Aug 2023
we cannot use a new timepicker control as we will have to upgrade the whole library first, please suggest some workaround in the code I have shared and using the old timepicker control gives me 3 separate dropdowns which is not looking good as per the UI
at 17 Aug 2023
SalesARM
Please follow the 2nd link I've posted
at 17 Aug 2023
Omu
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK