Please use PRE tags to format your code part. It really helps everyone to read and answer questions.
Hardus Lombaard wrote:
insert this webdayview control into a user control and move the corresponding javascript into the aspx of the user control, it doesn’t work.
This means you have not taken care of the control names in Javascript. Once you put the control in a user control, a string would append at the start of your control name. This new ID which can be found out easily using a ViewSource of your webpage, must be used in Javascript to access it.
Hardus Lombaard wrote:
. I can’t even insert a breakpoint into the javascript function to debug it.
Why so? You can put "debugger;" at the start of function and enable Javascript debugging in your IE settings! You are all set to debug it now.