Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How do I Allowing a JavaScript Calendar Widget to popup on a AJAX Modal page

$
0
0

Thank you in advance for your help !!

Programing with ASP.NET and C# Code Behind. Using Ajax to make Modal windows from main page.
I have a JavaScript based Calendar widget that basically creates a clickable calendar icon next to an input box on the modal page.
When you click on the icon, the Current month is sopposed to displays for selection. Works on a regular non-Modal page,
but not on the actual Modal page. I know tha the JavaScript is working because it creates the Calendar ICON and the Tooltip text.
It is like AJAX is not allowing the calendar to pop-up. I have even tried enclosing it in an update panel.

I am using the "Unobtrusive, accessible datePicker Wigit v5" Read about it here:
http://www.frequency-decoder.com/2011/10/11/unobtrusive-accessible-datepicker-widgit-v6

Here is the actual code in the asp page:

              <input type='text' class='w8em' id='txtAdmDate' name='txtAdmDate' value='mm/dd/yyyy' />
              <script type="text/javascript">
      // <![CDATA[
                  var opts = {
                      // Attach input with an id of "dp-1" and give it a "d-sl-m-sl-Y" date format (e.g. 13/03/1990)                        
                      formElements: { "txtAdmDate": "m-sl-d-sl-Y" }
                  };
                  noFadeEffect: true
                  datePickerController.createDatePicker(opts);
      // ]]>
      </script>

Any help would be greatly appreciated !!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>