Hi Evan,
Thanks for contacting Syncfusion support.
We have checked the reported issue in our end with the provided details. We have rendered ejDatePicker with your code and retrieve this date value through OnSelectedIndexChanged event of ASP DropDown in code behind.
Refer to the following code and screenshots.
<h3>EJ1 DatePicker</h3>
<ej:DatePicker runat="server" ID="datePicker" EnablePersistence="true" ></ej:DatePicker>
<h3>ASP DropDownList</h3>
<asp:DropDownList ID="ddl1" runat="server" OnSelectedIndexChanged="ddl1_SelectedIndexChanged" AutoPostBack="true">
<asp:ListItem Text="Item 1"></asp:ListItem>
<asp:ListItem Text="Item 2"></asp:ListItem>
</asp:DropDownList> |
Protected Sub ddl1_SelectedIndexChanged(sender As Object, e As EventArgs)
Dim dateValue As String = Me.datePicker.Value
End Sub |
The selected value is updated as shown below
We have attached a sample for your reference in the following link
Refer to the below UG for more details on DatePicker control.
If the issue persists, kindly share the following details to assist you promptly.
- Product version used in your sample.
- Complete code snippets of your application.
- If possible, modify the above sample to replicate the issue in our end to serve you better.
Please let us know if you need further assistance.
Regards,
Keerthana.