ajax - CalendarExtender Change date with Javascript -


I have a calendar entry control on my page and sometimes the next time it needs to be changed on Sunday. I am currently using the OnClientDateSelectionChanged property to call the function which will add that day to its Sunday from its present.

The problem is that if I select one Tuesday in my calendar, the text box will display on next Sunday but the date selected in the calendar is still Tuesday.

How do I update the calendar attender for a new date selected in Javascript? Textbox is attached to the Calendar Estender, shows the correct date ...

changing the value of the textbox TargetControlId to the selected date for calendar explorer , if the following 2 conditions are met:

  1. One < The Strong> onchange event has been removed on the text box (either by manually changing the text or by calling a clear JavaScript fire event () method Taxes.
  2. The date entered in the Format textbox matches the same format used by the Calendar ActMaker.

This is what The correct way to handle this is to work with set_selectedDate () calendar extension control. This is a call, not only selected on the calendar, but also sets the target text box at the same time .

Here is the example code:

   

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -