Why use Session variables? If the Calendar control causes the Postback a Calendar event will fire. Since the user was able to click the calendar, the Div is visible. Set the style in the Calendar event...