Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
function
ClientTimeSlotClick(sender, args) {
// Access your start time here
alert(args.get_time());
}
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
"server"
OnClientTimeSlotClick
"ClientTimeSlotClick"
>
</
protected
void
Page_Load(
object
sender, EventArgs e)
{
DataTable dt =
new
DataTable();
dt.Columns.Add(
"ID"
,
typeof
(Int32));
"Name"
(
string
));
"StartDate"
(DateTime));
"EndDate"
dt.Rows.Add(1,
"Name1"
, DateTime.Now.AddHours(0), DateTime.Now.AddHours(1));
dt.Rows.Add(2,
"Name2"
, DateTime.Now.AddHours(2), DateTime.Now.AddHours(3));
RadScheduler1.DataSource = dt;
RadScheduler1.DataKeyField =
;
RadScheduler1.DataSubjectField =
RadScheduler1.DataStartField =
RadScheduler1.DataEndField =
RadScheduler1.DataBind();