{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6595","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6595/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6595/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6595/events","html_url":"https://github.com/wet-boew/wet-boew/issues/6595","id":59810778,"number":6595,"title":"polyfill (date picker) and ASP.NET UpdatePanel / date picker issues on ASP.NET UpdatePanel post back ","user":{"login":"matvez","id":5281392,"avatar_url":"https://avatars.githubusercontent.com/u/5281392?v=3","gravatar_id":"","url":"https://api.github.com/users/matvez","html_url":"https://github.com/matvez","followers_url":"https://api.github.com/users/matvez/followers","following_url":"https://api.github.com/users/matvez/following{/other_user}","gists_url":"https://api.github.com/users/matvez/gists{/gist_id}","starred_url":"https://api.github.com/users/matvez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matvez/subscriptions","organizations_url":"https://api.github.com/users/matvez/orgs","repos_url":"https://api.github.com/users/matvez/repos","events_url":"https://api.github.com/users/matvez/events{/privacy}","received_events_url":"https://api.github.com/users/matvez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-04T15:11:38Z","updated_at":"2015-03-04T16:26:20Z","closed_at":null,"body":"On post back a WET polyfill date picker inside an ASP.NET UpdatePanel is lost. The UpdatePanel reloads existing markup and destroys the existing polyfill. How can I reinstate the polyfill date picker inside that UpdatePanel on post back?  \r\n\r\n```asp\r\n<asp:Content ID=\"HeadContent\" ContentPlaceHolderID=\"HeadContent\" runat=\"server\">\r\n    <script type=\"text/javascript\">\r\n    </script>\r\n</asp:Content>\r\n<asp:Content ID=\"MainContent\" ContentPlaceHolderID=\"MainContent\" runat=\"server\">\r\n    <form id=\"MainForm\" runat=\"server\">\r\n        <asp:ScriptManager ID=\"ScriptManager1\" runat=\"server\">\r\n        </asp:ScriptManager>\r\n        <asp:UpdatePanel ID=\"UpdatePanel1\" runat=\"server\">\r\n            <ContentTemplate>\r\n                <asp:TextBox ID=\"txtDate\" runat=\"server\" Text=\"\" type=\"date\" data-rule-dateISO=\"true\">\r\n</asp:TextBox>\r\n                <asp:Button ID=\"btn\" runat=\"server\" OnClick=\"btn_Click\" Text=\"Button\" />\r\n            </ContentTemplate>\r\n        </asp:UpdatePanel>\r\n    </form>\r\n</asp:Content>\r\n```"},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/77190587","html_url":"https://github.com/wet-boew/wet-boew/issues/6595#issuecomment-77190587","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/6595","id":77190587,"user":{"login":"LaurentGoderre","id":1090826,"avatar_url":"https://avatars.githubusercontent.com/u/1090826?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGoderre","html_url":"https://github.com/LaurentGoderre","followers_url":"https://api.github.com/users/LaurentGoderre/followers","following_url":"https://api.github.com/users/LaurentGoderre/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGoderre/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGoderre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGoderre/subscriptions","organizations_url":"https://api.github.com/users/LaurentGoderre/orgs","repos_url":"https://api.github.com/users/LaurentGoderre/repos","events_url":"https://api.github.com/users/LaurentGoderre/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGoderre/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T16:26:20Z","updated_at":"2015-03-04T16:26:20Z","body":"I would strongly recommend not using an UpdatePanel and rely on our Form Validation instead of the server side .NET way."}}