javascript - Datepicker postbacks when lose focus -


when click textbox datetimepicker popups after when click outside of picker close it, page postbacks textchange doesn't fired. either should not postback page or textchange fired fix here. know how solve problem?

<script>     $(function () {         $("#<%=dpstartdatetime.clientid%>").datepicker({ autoclose: true, weekstart: 1, language: "tr" }).next().on(ace.click_event, function () {             $(this).prev().focus();         });     }); </script>   <asp:textbox id="dpstartdatetime" runat="server" cssclass="form-control date-picker" data-date-format="dd.mm.yyyy" autopostback="true" ontextchanged="dpstartdatetime_textchanged"></asp:textbox><span class="input-group-addon"><i class="fa fa-calendar bigger-110"></i></span> 

change autopostback="true" `autopostback="false"'


Comments

Popular posts from this blog

c# - Derived UserControl layout resets after build -

sql - Postgresql error: "failed to find conversion function from unknown to text" -

haskell - Using Monad/ST for non-concurrent message passing in a mutable graph -