blockui

NX二次开发-BlockUI点击任意button,实现确定应用按钮变灰色或非灰色

拈花ヽ惹草 提交于 2020-08-17 18:23:11
今天在群里又看到有哥们问怎么实现BlockUI点击任意button,实现确定应用按钮变灰色或非灰色 但是我不知道怎么实现,后来群里的东东给了实现方法,用这个回调 注意事项: 这个控件选择状态,也会影响确定应用按钮是否灰色,如果 状态为第一个必选的时候,控件都选择完了之后,确定和应用才能够变为可点状态。 Caesar卢尚宇 2020年5月23日 设置UI回调 定义全局变量int a; 来源: oschina 链接: https://my.oschina.net/u/4401339/blog/4290953

Calling blockUI and unblockUI in combination with jQuery validator plugin

只谈情不闲聊 提交于 2020-01-25 05:10:20
问题 I have a very complex form with the validation working correctly. However, since it can take awhile for the validation to complete, I'd like to use blockUI to be called when I click the form's submit button to prevent confusion and double-submissions. I can't quite figure out how to do this. My code looks like this: $("#credential").validate({ rules: { EngId: { required: true } ClientAccount: { required: true } ... } and I'm calling the validation with several buttons (using their click

BlockUI positioning on the page not the screen

馋奶兔 提交于 2020-01-15 10:16:33
问题 I have used this plugin before but now the blockui is not positioning correctly on the page. on the screen it's ok like 40% from the top but the problem is with the page . it is scrolling all the way up to the top. if I have a button in the moddle of the page and I click on it to start the blockui the page will scrool back to the top. and I dont know why here is the html: <div class="btn" id="block"> <a href="#"><span>to buy tickets</span></a> </div> <div id="blockmsg"> <a href="#" id="x">

BlockUI positioning on the page not the screen

夙愿已清 提交于 2020-01-15 10:16:08
问题 I have used this plugin before but now the blockui is not positioning correctly on the page. on the screen it's ok like 40% from the top but the problem is with the page . it is scrolling all the way up to the top. if I have a button in the moddle of the page and I click on it to start the blockui the page will scrool back to the top. and I dont know why here is the html: <div class="btn" id="block"> <a href="#"><span>to buy tickets</span></a> </div> <div id="blockmsg"> <a href="#" id="x">

blockUI works but unBlockUI Isn't

只愿长相守 提交于 2020-01-01 11:40:52
问题 I've implemented block UI as this request can take a little, time when the ajax request starts everything works as expected. But when the ajax request finishes and the msgbox is shown, the UI doesn't unblock! Any ideas? I'm using IE8. $().ajaxStart($.blockUI); $().ajaxStop($.unblockUI); function ChangeCompanyState(companyId, state) { var parameters = "{companyId:" + companyId + ",state:\"" + state + "\"}"; $.ajax({ type: "POST", url: "Ajax/AjaxFragments.aspx/ChangeCompanyState", data:

ASP.net button Jquery BlockUI

萝らか妹 提交于 2019-12-25 08:04:05
问题 I'm having trouble getting an ASP button to call a jquery script, in this case BlockUI, but I'm not sure what I'm doing wrong? <asp:Button runat="server" ID="btnAddUser" Text="Add Currency Combination" ValidationGroup="valSum2" CssClass="showHide" OnClientClick="overlay" <script type="text/javascript" language="javascript"> $(document).ready(function() { $('#overlay').click(function() { $.blockUI({ overlayCSS: { backgroundColor: '#00f' } }); setTimeout($.unblockUI, 2000); }); }); </script>

How to use primefaces 3.5 blockUI block all page (p:layout) when click p:menu in p:layoutUnit (west)

这一生的挚爱 提交于 2019-12-24 16:05:26
问题 How to use primefaces 3.5 blockUI block all page (p:layout) when click p:menu in p:layoutUnit (west) main.xhtml <h:body> <p:layout fullPage="true"> <p:layoutUnit gutter="0" collapseSize="0" id="topLayout" position="north" size="88"> <h:form id="topForm"> <ui:include src="main_top.xhtml" /> </h:form> </p:layoutUnit> <p:layoutUnit gutter="0" collapseSize="0" id="leftLayout" position="west" size="155" header="Main Menu"> <h:form id="leftForm"> <ui:include src="main_left.xhtml" /> </h:form> </p

BlockUI on DOM Ready

拈花ヽ惹草 提交于 2019-12-22 17:54:41
问题 I'm using the jQuery BlockUI plugin to add a loading splash to a page that takes a few seconds to load due to CAML queries. The problem is, the page loads before then the BlockUI displays for a split second and disappears. It seems like JS is executing these in the wrong order and I cannot figure out why. Is there something I can change in the code or is BlockUI just not intended to be used without Ajax? $(document).ready(function() { $.blockUI(); }); $(window).ready(function() { $.unblockUI(

jquery blockui positioning

偶尔善良 提交于 2019-12-22 07:21:49
问题 I'm using blockui to throw some forms up on my site but for some reason the blockui element is positioned about 20-30 pixels from the bottom of the screen. I tried, per the docs (jquery blockui options for v2) to reposition it using this code: $.blockUI({css: {top : '10px'}}); But that just yawned at me in a universe mocking kind of way and did nothing. The default, again, per the docs, is top : 40%. I don't want to wipe out all the blockui css, just reset the top positioning. 回答1: I use this

How to create page overlay while data is loading - asp.net/jquery/blockui

蓝咒 提交于 2019-12-21 15:24:12
问题 I'm trying to display an overlay that says "page loading...please wait" while data is being retrived from a sql server. I'm hoping to use the BlockUI plugin for this but anything will do. I have an ASP.NET page using a site.master. The plugin works but no matter what I tried, it only appears AFTER the page was fully loaded. The bulk of the waiting is down to work done in the Global.asax file. In the Session_Start section, I have a function that returns data to populate dropdown menus on my