minglelinch
asked on
RadDatePicker Value
I have the following piece of code working -
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Bind("payDate") %>'></asp:Label>
</ItemTemplate>
Now I want to change the above label to a RadDatePicker. I used the following code -
<ItemTemplate>
<telerik:RadDatePicker ID="RadDate" runat="server" CssClass="Textbox"
Calendar-SelectedDate='<%#
</telerik:RadDatePicker>
</ItemTemplate>
The above code is not working. What would the correct way to chnage it?
Another thing -
I went through all the properties of telerik:RadDatePicker, trying to find the one to set the datebox with a specific date, but I did not find it.
Please help. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works by using DbSelectedDate property.
Using SelectedDate encountered Invalid Case eoor.
Thanks. The problem is resolved.
Using SelectedDate encountered Invalid Case eoor.
Thanks. The problem is resolved.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
DbSelectedDate='<%# Bind("StartDate") %>'
Also
refer these links
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/databinding/defaultcs.aspx