I got this compilation error when I try to use the data binding
<telerik:RadScheduler runat="server" ID="DisplayAllBookings"
............
OnDataBinding="onDataBinding">
Here's my javascript:
function onDataBinding(sender, arg) {
alert("Data binding");
}
I got this compilation error:
Compiler Error Message: CS1061: 'ASP.booking_displayallbooking_aspx' does not contain a definition for 'onDataBinding' and no extension method 'onDataBinding' accepting a first argument of type 'ASP.booking_displayallbooking_aspx' could be found (are you missing a using directive or an assembly reference?)
Can anyone explain why I got this and how to resolve the problem?
Another question: basically I gonna have different number on each time slot and I want to use different colors to display time slots with various number. What I try to do is to modify the color of each time slot upon DataBinding. Apart from writing scripts for OnDataBinding, is there any easier way to do this?
Thank you very much.
<telerik:RadScheduler runat="server" ID="DisplayAllBookings"
............
OnDataBinding="onDataBinding">
Here's my javascript:
function onDataBinding(sender, arg) {
alert("Data binding");
}
I got this compilation error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS1061: 'ASP.booking_displayallbooking_aspx' does not contain a definition for 'onDataBinding' and no extension method 'onDataBinding' accepting a first argument of type 'ASP.booking_displayallbooking_aspx' could be found (are you missing a using directive or an assembly reference?)
Can anyone explain why I got this and how to resolve the problem?
Another question: basically I gonna have different number on each time slot and I want to use different colors to display time slots with various number. What I try to do is to modify the color of each time slot upon DataBinding. Apart from writing scripts for OnDataBinding, is there any easier way to do this?
Thank you very much.