I am working on a ASP.Net webform which includes AJAX Modelpoup Extender
and jquery nepali-datepicker
. I have to integrate nepali-datepicker
to a textbox that is inside my second modelpopup
i.e. with blue background shown in image below.
Problem I am facing is that I am not able to position datepicker
at bottom of textbox
Based on answers on the post(How to change the pop-up position of the jQuery DatePicker control) I was able to bring datepicker in front of 2nd model popup. Is there a way that I can use to actually position datepicker to the textbox.
Here is my script and styles:
<script type="text/javascript">
function pageLoad() {
$('.nepali-calendar').nepaliDatePicker();
}
$(document).ready(function () {
$('.nepali-calendar').nepaliDatePicker();
});
</script>
<style type="text/css">
div#ndp-nepali-box
{
position:absolute;
z-index: 999999;
}
</style>
Following image shows how it is is positioned right now.
If I use position
as relative
.
<style type="text/css">
div#ndp-nepali-box
{
position: relative;
z-index: 999999;
}
</style>
Is there a way that I can use to actually position datepicker to bottom of the textbox.