jquery - CSS Not carrying over to new tab content -
i have app using jquery tab control navigation. of jquery , jquery ui work fine on master page , on first tab, once navigate second tab, theme roller stylings not carry over. when navigate , forth, can see styling gets applied , flashes normal gray button.
this button on page in code
<td><input type="button" class="button" runat="server" role="button" value="run new claims query"/></td>
the way can render how want explicitly state classes used styling
<td><input id="open" class="button ui-button ui-widget ui-state-default ui-corner-all" type="button" value="run new claims query" name="open" role="button" aria-disabled="false"/></td>
i had similar problem css show on initial load of page if performed postback lose css, particularly jquery ui css. found answer.
$(document).ready(function() { // bind jquery events here }); var prm = sys.webforms.pagerequestmanager.getinstance(); prm.add_endrequest(function() { // re-bind jquery events here });
thanks jquery $(document).ready , updatepanels?
this solved vanishing css problems. hope helps well!
Comments
Post a Comment