datepicker (jQuery UI) serverside processing (asp.net)

datepicker (jQuery UI) serverside processing (asp.net)

How can i proces the selected date without a submit button?

I am using the inline presentation with "populate alternate field". Because i want to keep the calender visible

I have used the Alternate field in my hope to use the textbox events but to no avail. (textchange is handled "in between posts", so i need a postback ). the Alternate field is not necessary for the solution.

Other question for same problem: what events are at my disposal when using a <DIV>.
<div>
        Date: 
        <div id="JQdatepicker"></div>
        <asp:TextBox ID="JQPickedDate" runat="server" ClientIDMode="Static" AutoPostBack="true">
      </asp:TextBox>
</div>

and

            $("#JQdatepicker").datepicker({
                showWeek: true,
                firstDay: 1,
                altField: "#JQPickedDate",
                altFormat: "DD, d MM, yy"
            });



I have tried 
kbwood.au    http://forum.jquery.com/topic/how-to-perform-onclick-event-on-datepicker-calender-in-jquery-31-10-2010 .
solution
            $('#JQdatepicker').datepicker({ onSelect: function (dateStr) {
                alert('You chose ' + dateStr);
            } 
            });
But i guess this works on an input element

thanks in advance,


    • Topic Participants

    • p2p