Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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

position:relative;

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

 
discard

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.