w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
when page loads styles are applying fine however as am using UPDATE Panel after postback (means on click of any button) styles are disappear

Hey this is because update panel not reload you Jquery code after post-back.Please use given code.

 <script type="text/javascript" language="javascript">


    var prm = Sys.WebForms.PageRequestManager.getInstance();

    prm.add_endRequest(function () {
        $(".formstyle").jqTransform();
    });
 </script>

Hope it helps you





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.