Last post Apr 27, 2018 08:24 AM by Khuram.Shahzad
Apr 27, 2018 05:58 AM|vijaylakshmi|LINK
I have a datepicker as follows..
<input type="text" class="form-control show_cal" id="datepicker" placeholder="Select Date" size="30">
All the required JS files are attached..
now my problem is getting the selected date's value from the input box to the server end
I dont want to remove the input type tag and attach the asp:textbox..
can anyone help..
Apr 27, 2018 08:24 AM|Khuram.Shahzad|LINK
Create asp.net control (hiddenfield), capture data in hiddenfield , it means when user select data capture the event of datepicker and save data in hidden field value. Now you have saved data in asp.net hidden field control you can access it in code behind
If you need some business logic when date get selected then you can make an ajax call and get result as response.