tags:

views:

149

answers:

5

Dear All,

I have a gridview, in the footer of gridview,I add a Textbox(TB1) and a CalendarExtendar(CAL1). CAL1 has properties : PopupControl ID and targetControl ID = TB1.

When I click TB1 Popup of Calendar Extendar show the view of calendar. But i found error : The Saturday is missing. So CAL just show 6 days.

Can anyone help me, why the saturday is missing?

A: 

I had this problem when I started using the Ajax Calendar Extender.

For me the issue was with the CSS. If I remember correctly, the padding / margin between the columns is too large, so the last column doesn't fit within the viewable area.

Try tweaking the CSS. I'm pretty sure that Saturday is actually there, you just can't see it.

JustABitOfCode
A: 

I try not to use CssClass into CAL1.The result is Saturday is still missing. When I use Css the result is same.Saturday is Missing.

Below the code of Css for the CAL1:

.CssClassName.ajax__calendar_container { background-color:#fff; border:solid 1px #000; font-family:arial,helvetica,clean,sans-serif; cursor:default; width:205px; font-size:12px; text-align:center; padding:0px;

}

Why I still cannot see the saturday?

Yayan
A: 

Thx for your suggestion JustABitOfCode. The problems are on CssClass and I have fixed the CSS

Yayan
A: 

I used below CSS to fix the problem. Second line is optional.

div.ajax__calendar_container, div.ajax__calendar_body {width:225px;}

.ajax__calendar_days td { padding:2px 4px;}

E. Pala