问题
How to use RadDataInput by time formated in asp.net?
I use this code , but when i get Text of control , get me date and time.
I want get time only
<telerik:RadDateInput ID="RadDateInput1" DateFormat="HH:mm" runat="server" >
</telerik:RadDateInput>
回答1:
Try this code ,
string _time = RadDateInput1.SelectedDate.Value.ToShortTimeString();
来源:https://stackoverflow.com/questions/21379134/how-to-use-raddateinput-for-time-in-asp-net