Thursday, November 13, 2008

Why Ajax CalendarExtender is not selecting all Dates in Calendar?

See Guys,the problem may be because you have forgotten to set PopupPosition of CalendarExtender.Better specify the PopupPosition to "BottomLeft" and try.
If still the problem exists it may be because of the table you have taken.You might have placed the TextBox Control and CalenderExtender in a table.
Most often we are habituated to drop the table from Layout --> Insert Table and then we willposition it and resize it.This cause us trouble unknowingly.

What happens?
When we manually position the table, the z-index of the 'style' attribut of 'table' tag is set to a greater value say 100.So the best thing is to write code for table and set the position at source side appropriately.Thats the reason for CalendarExtender not displaying some of the dates in calendar.You adjust the z-index of style attribute to 2 and check.
Hurray it works!

2 comments:

RaviShankarKota said...
This comment has been removed by the author.
Anonymous said...
This comment has been removed by a blog administrator.