sharepoint2010的弹出等待提示的对话框
生活随笔
收集整理的這篇文章主要介紹了
sharepoint2010的弹出等待提示的对话框
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
根據(jù)MSDN的資料。我做了個(gè)測(cè)試,代碼如下:
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="screenVisualWebPart.ascx.cs" Inherits="SharePointProject1.screenVisualWebPart.screenVisualWebPart" %> <input id="Button1" type="button" value="不帶關(guān)閉的功能" οnclick="test();" /> <input id="Button2" type="button" value="帶關(guān)閉的功能" οnclick="testClose();" /> <script Lanague="javscript" type="text/javascript"> <!--function test() {var value = SP.UI.ModalDialog.showWaitScreenWithNoClose("測(cè)試", "正在等待....", 200, 300);}function testClose() {var value = SP.UI.ModalDialog.showWaitScreenSize("測(cè)試", "正在等待....", 200, 300);} //--> </script>部署效果圖如下:
不帶關(guān)閉按鈕的等待提示框
?
帶關(guān)閉的等待提示框:
轉(zhuǎn)載于:https://www.cnblogs.com/love007/archive/2012/09/11/2680523.html
總結(jié)
以上是生活随笔為你收集整理的sharepoint2010的弹出等待提示的对话框的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android自己主动化測试之Monke
- 下一篇: 导出excel文件,若在一台PC端无法正