简体   繁体   中英

How can I capture data from TimePicker?

I am a beginner and I want to capture the time is selected from a TimePicker to display it in another page, how I can do?

this is the html code of TimePicker

<ew:TimePicker runat="server" ID="tpInicio" Width="90px" Scrollable="True" Nullable="False" NumberOfColumns="2" MinuteInterval="30" PopupWidth="140px" PopupHeight="175px" CssClass="captura" BackColor="White">
   <TimeStyle BackColor="WhiteSmoke" ForeColor="Black" />
   <SelectedTimeStyle BackColor="DarkGray" ForeColor="White" />
   <ClearTimeStyle BackColor="Gainsboro" ForeColor="Black" />
</ew:TimePicker>

Thanks

Are you using exCentrics.net? If so you can try tpInicio.SelectedTime .

I suggest you also check jQuery UI for some better alternative.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM