This is a migrated thread and some comments may be shown as answers.

RadComboBox Need Help

1 Answer 191 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Luffy
Top achievements
Rank 1
Luffy asked on 01 Aug 2011, 06:35 PM
Hi, below has a picture attached.


Inside the Radcombobox, it display the date and time, however i want to have the format changed to "d MMMM yyyy" and show it on Radcombobox1. Can anyone please help?

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Aug 2011, 10:03 AM
Hello Sherman,

Try setting the DataTextFormatString property as shown below.
aspx:
<telerik:RadComboBox ID="RadCombobox1" runat="server" DataSourceID="SqlDataSource1"  DataTextFormatString="{0:d MMMM yyyy}">
</telerik:RadComboBox>

Thanks,
Shinu.
Tags
ComboBox
Asked by
Luffy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or