search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Use of calendar and MS AJAX tabpanel results in a JavaScript warning

Asked by Olivier Furnémont
17 years ago.

Hello,

I am testing DayPilot 3.8.1705.1 Trial and I am having a weird issue with Microsoft AJAX Tab panel: when I launch my ASP.Net application from Visual Studio, I get stuck on this piece of code the automatically created JavaScript:

if(d){d.style.width=(w-1)+'px';}

As far as I have seen, "w" = -2 upon starting the solution!

I have removed the DayPilot calendar from the tab panel and everyting worked again.

Is this a known bug?

Thanks

Comment posted by Olivier Furnemont
17 years ago.

I have tested the latest version (3.8.1086) and the issue is still there.

Br,

Olivier

Comment posted by Dan Letecky
17 years ago.
Thanks for reporting the bug. I'll give it a try.
Comment posted by Olivier Furnemont
17 years ago.

Thanks!

Funny enough, under Firefox it works?!??! But not under IE 7 (Windows XP or Vista).

Olivier

Comment posted by Dan Letecky
17 years ago.
The code above is part of a routine that detects the scrollbar width and adjusts calendar dimensions accordingly (scrollbar width is different in IE7/FF vs. IE6). The Tab panel probably influences the control or scrollbar width. I will see if it's possible to fix it.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.