How to Bind the radcalender with value coming from DB

3 posts, 1 answers
  1. Akki
    Akki avatar
    79 posts
    Member since:
    Nov 2011

    Posted 18 May 2012 Link to this post



    Hi,
    I am using radcalender control in inside radgrid. Value stored in db is of format "7/4/2010 12:00:00 AM". can i assign this value to rad calendar.
    Is this possible ?

      <telerik:GridTemplateColumn HeaderText="Start" UniqueName="fispersrt" DataField="fispersrt"
                                    Visible="true">
                                    <ItemTemplate>
                                    <telerik:RadCalendar ID="rdCalendar" runat="server">
                                    </ItemTemplate>
                                    <HeaderStyle ForeColor="Red" />
                                </telerik:GridTemplateColumn>

    Regards,
    Akki
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 May 2012 Link to this post

    Hello Akki,

    SInce RadCalendar is not a databound control, you cannot bind the value. One suggestion is you can use DatePicker to bind the value. Check the following help documentation which explains more about this.
    Data Binding.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Akki
    Akki avatar
    79 posts
    Member since:
    Nov 2011

    Posted 18 May 2012 Link to this post

    Thanks shinu, it worked.
Back to Top