Weird bug when combining an ASP.NET updatepanel with the jQuery UI DatePicker

前端 未结 10 755
时光说笑
时光说笑 2021-02-04 15:42

I\'ve created a page which combines an inline jQuery UI datepicker . I wan\'t to initiate a callback to the updatepanel when the user clicks a new date to update some data. Now,

10条回答
  •  别跟我提以往
    2021-02-04 16:14

    I thought this was interesting, if you add an alert after the doPostBack then FF doesn't return null.

        function doAspNetPostback() {
    
            __doPostBack('<%= hiddenOnSelectionChangedButton.ClientID %>', '');
            alert('<%= hiddenOnSelectionChangedButton.ClientID %>');
        }
    

提交回复
热议问题