Hi,
I am using this demo for To Do List module:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/DragAndDropIntegration/DefaultCS.aspx. Everything works fine in a web page, but once I put that code in a DNN module web control, I get an error:
Error: 'null' is null or not an object
The error happens in this code, on allDayDiv row.
How can I change the code so it would work in DNN?
Thanks,
Julia
I am using this demo for To Do List module:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/DragAndDropIntegration/DefaultCS.aspx. Everything works fine in a web page, but once I put that code in a DNN module web control, I get an error:
Error: 'null' is null or not an object
The error happens in this code, on allDayDiv row.
| function isPartOfSchedulerAppointmentArea(htmlElement) |
| { |
| // Determines if an html element is part of the scheduler appointment area |
| // This can be either the rsContent or the rsAllDay div (in day and week view) |
| var scheduler = $find('<%= RadScheduler1.ClientID %>'); |
| var allDayDiv = $telerik.getChildByClassName(scheduler.get_element(), "rsAllDay"); |
| var contentDiv = $telerik.getChildByClassName(scheduler.get_element(), "rsContent"); |
| return $telerik.isDescendant(contentDiv, htmlElement) || $telerik.isDescendant(allDayDiv, htmlElement); |
| } |
How can I change the code so it would work in DNN?
Thanks,
Julia