SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to add DateTimeControl to my webform dynamically within a Panel which is preparing form fields dynamically. The form is long and placed on a jquery tab and have added scroll bar by restricting the height of the tab control.

The DateTimeControl is getting added fine, the issue is that after clicking on calender icon to pick the date, that calendar is getting popped up outside the tab page much below it. Basically that iframe is taking absolute "top" position ignoring the fixed height of tab page whereas it should have taken relative position.

It would be great if you could share some pointers, your views on how can one control positioning of that calendar iframe...

share|improve this question

Ensure that the html element that the datetime control is in has the css property:


That ensures that the absolute positioning of the element inside it will be relative to its container.

share|improve this answer
Thanks, it did resolve my issue. Sorry for the late response! – Manoj Patil Apr 10 '13 at 6:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.