Hi,
I have a problem with CalendarExtender, the calendar is not set under the textbox, its position depends on the position of the scroll. How can I force the calendar to appear always under the textbox?
Thanks.
Your problem may be related to other CSS styles that you have on the page that may be effecting the calendar. Also, make sure IE6 is rendering in standards mode vs. quirks mode (seehttp://en.wikipedia.org/wiki/Quirks_mode for more info on Quirks Mode) since the AJAX Control Toolkit assumes IE is rendering pages in standards mode.
-Damien
Thanks, but I placed Calendar above everything, where it couldn't be affected by any CSS style and it was the same. I am using IE7 and it's not working either.
Monika
IE7 can also be pushed in quirks mode, could this be happening? Are you using absolute positioning or something that may be causing the issue?
I think there still may be some style causing you problems, try looking at the applied styles using the IE Developer Toolbar or Firebug for Firefox, both are free.
-Damien
I actually filed a bug against something virtually identical to this at CodePlex and then created and documented all the code that would fix it. Both the PopupExtender which it relies on, and the CalendarExtender need patches. The problem arises because the PopupExtender tries to calculate the position where it should appear based on scroll positions and page size. That's fine for the PopupExtender, but not for the CalendarExtender. The fix was to add a property to PopupExtender that would cause this calculation to be bypassed and then specify true for this default false property in the CalendarExtender. The CodePlex ID is 9099 and it may fix 8970 as well.
In my case I created a new custom Ajax ToolKit control by copying all the code and modifying the namespace so that it could not conflict with or get overwritten by a future update that did not have a fix. All my code is in 9099 if you do this. If this is not the cause then it is another calculation that I missed, and you would need to modify the JavaScript source in the toolkit.
As a general fix to this problem, the proper fix is probably to add an attribute to the CalendarExtender that would turn this on if you needed it, but would not break previous projects when not specified.
I have the same issue. I tried to look into issues 9099 and 8970 in CodePlex but the system could not find them.
Are these the correct issue IDs or is it just my user account lacking sufficient privileges?
Not sure how you're looking for issues but if you go to the Ajax Toolkit project, click on Issue Tracker and go to the Advanced View, there is a "Go to Isssue #" on the right
No comments:
Post a Comment