title: How to save and retrieve multiple selected dates using radcalendar
body: <p>I want to save the multiple selected dates using RadCalendar to sql database table column and after save, highlight the following dates in radcalender on page load, and disable rest dates in radcalendar :</p>
  
  <p>i have searched about radcalendar but nothing works in.</p>
  
  <p>what i have done yet ?</p>
  
  <p>I have stored the selected multiple dates on radcalendar to textbox using stringbuilder as : </p>
  
  <pre><code>Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
          On Error Resume Next
  
          Dim stringbuilder As StringBuilder = New StringBuilder
          For Each selecteddate As RadDate In RadCalendar1.SelectedDates
              stringbuilder.Append(selecteddate.Date.ToString("dd-MMM-yyyy") + ", ")
          Next
          stringbuilder.Length -= 2
          TextBox1.Text = stringbuilder.ToString
      End Sub
  </code></pre>
  
  <p><strong><em>By above code date stored in textbox when i select multiple dates in radcalendar and click button as : 07-sep-2015, 10-sep-2015, 22-sep-2015 etc.. dynamically</em></strong></p>
  
  <p>But problem is that how to highlight those selected dates in Radcalendar when the page loads,</p>
  
  <p>Someone suggest me the code, but i don't knwo how to implement that</p>
  
  <pre><code>   Dim d = New RadDate()
      d.Date = New DateTime(textbox1.text)
      RadCalendar1.SelectedDates.Add(d)
  </code></pre>