自己写的一个按钮控件 点击时在界面出现一个loading遮罩层

这是一个自定义的ASP.NET按钮控件,点击后按钮变为灰色并显示'Submitting, please wait...',同时可选地展示提示框或加载遮罩层。遮罩层用于防止用户在提交过程中继续操作,实现更全面的交互控制。代码示例展示了如何动态创建图片元素和遮罩层,并处理图片加载完成后的尺寸设置。" 51111318,5097065,Ubuntu14.04搭建全自动PXE服务器指南,"['Ubuntu', 'PXE', '服务器配置']
摘要由CSDN通过智能技术生成
               

Imports System.Collections.GenericImports System.ComponentModelImports System.TextImports System.WebImports System.Web.UIImports System.Web.UI.WebControlsNamespace Web.Controls    ''' <summary>    ''' Represents a button to prevent duplicate submissions.     ''' When the user clicks the button after the button is grayed out, can not click again until reload the page or jump.    ''' </summary>    <DefaultProperty("Text")> _        <ToolboxData("<{0}:ClickOnceButton runat=server></{0}:ClickOnceButton>")> _Public Class ClickOnceButton        Inherits System.Web.UI.WebControls.Button        ''' <summary>        ''' The default constructor.        ''' </summary>        Public Sub New()            Me.ViewState("afterSubmitText") = "Submitting, please wait ..."            MyBase.Text = "ClickOnceButton"            Me.ViewState("showMessageBox") = False            Me.ViewState("showLoadingLayer") = False            Me.ViewState("warningText") = "Sure to submit it?"        End Sub        ''' <summary>        ''' Gets or sets the click of a button, the button on the display text.        ''' </summary>        <Bindable(True), Category("Appearance"), DefaultValue("Submitting, please wait ..."), Description("After the submission instructions click the button on the display text.")> _        Public Property Afte

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值