Hi,
I have a scenario where I want the user to be able to type in the number of hours to allocate to a task on the Calendar. To do this I have created a textbox to enter the data into using:
The question I have now is how to I read all the days of the Calendar, get the contents of each textBox and do something with it? I would like to do this server side.
I've spent some time with the documentation without finding anything that fits the bill.
David Penny
I have a scenario where I want the user to be able to type in the number of hours to allocate to a task on the Calendar. To do this I have created a textbox to enter the data into using:
Protected Sub RadCalendar1_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) Handles RadCalendar1.DayRender Dim label As New Label() label.Text = e.Day.[Date].Day.ToString() e.Cell.Controls.Add(label) Dim dayOfWeek As String = e.Day.[Date].DayOfWeek.ToString() If dayOfWeek <> "Saturday" And dayOfWeek <> "Sunday" Then Dim txtBox As New TextBox() txtBox.Text = "xx" 'Will be read from database e.Cell.Controls.Add(txtBox) End IfEnd SubThe question I have now is how to I read all the days of the Calendar, get the contents of each textBox and do something with it? I would like to do this server side.
I've spent some time with the documentation without finding anything that fits the bill.
David Penny