- Online Barcode Generator
- How To
- Buy Now
Within Kettic asp.net Calendar server side events can be classified into different categories according to different picker. DatePicker, TimePicker, DateTimePicker and MonthYearPicker provides ChildrenCreated and SelectedDateChanged server events.
ChildrenCreated for ASP.NET AJAX
This server event occurs after the child and sub-controls are created and can be wired only during the Page_PreInit event, since it is fired before the regular handlers are attached.
SelectedDateChanged for ASP.NET AJAX
This server event is provided by these embedded controls: DatePicker, TimePicker, DateTimePicker and MonthYearPicker, which happens when the user changes the value of the control, either when input area loses focus after the user has typed a new value, or when the user selects a new value in the popup calendar or time view control. And this server event can only occur when users set PostBack property is True.
Online ASPX example codes for setting SelectedDateChanged event with Kettic ASP.NET AJAX calendar.
Check out following C# codes for SelectedDateChanged event with Kettic ASP.NET AJAX calendar.
TimePicker and DateTimePicker offer two certain server events: ItemCreated and ItemDataBound.
ItemCreated for ASP.NET AJAX
ItemCreated server event will occur when users add an item in the embedded time view control is created. This event occurs also when users create control after a postback, and at the time data is bound to the control.
Please see following demo ASPX codes for ItemCreated in ASP.NET application.
Please refer to following C# code for ItemCreated in ASP.NET application.
ItemDataBound for ASP.NET AJAX
When users add an item in the embedded time view control is bound to its data, the ItemDataBound server event occurs. This event provides the last opportunity to access the data item before it is displayed on the client. As long as this event is raised, the data item is no longer available.
ASPX example codes for ItemDataBound within ASP.NET project by using Kettic ASP.NET AJAX calendar.
C# code for ItemDataBound within ASP.NET project by using Kettic ASP.NET AJAX calendar.
ViewCellCreated is the only server event occurring in the embedded MonthYearPicker control.
ViewCellCreated for ASP.NET AJAX
MonthYearPicker provides the ViewCellCreated server event, which will happen when MonthCell, YearCell, NavigationCell and ButtonCell in MonthYearTableView are built up.
Please copy and paste following ASPX sample codes directly for ViewCellCreated server event.
Use following C# code for setting ViewCellCreated server event within ASP.NET application.
ASP.NET AJAX UI Controls