zoukankan      html  css  js  c++  java
  • 调用moss自带的对话框

                string builderUrl = "/_layouts/zoombldr.aspx"; //string builderUrl = "/_layouts/pickertreeview.aspx";

                string editorId = ClientID + '_' + txt.ID;

                string dialogFeatures = "dialogHeight:340px;dialogWidth:430px;help:no;status:no;resizable:yes";

                cell2.Controls.Add(new LiteralControl("&nbsp;<input type=\"button\" value=\"Editor...\" id=\""
                    + editorId
                    + "_QueryOverride_Builder\" title=\" Click to Use Builder \" onclick=\"javascript:"
                    + string.Format("MSOPGrid_doBuilder('{0}?culture={1}', {2}, '{3}')",
                    SPHttpUtility.EcmaScriptStringLiteralEncode(builderUrl),
                    Thread.CurrentThread.CurrentUICulture,
                    SPHttpUtility.EcmaScriptStringLiteralEncode(editorId), dialogFeatures) + ";\" />"));

                row.Cells.Add(cell1);

                row.Cells.Add(cell2);

                table.Controls.Add(row);

                this.Controls.Add(table);

  • 相关阅读:
    收集邮票
    CF235B Let's Play Osu!
    [SHOI2002]百事世界杯之旅
    路径统计
    fastText 训练和使用
    由最多N个给定数字集组成的数字 Numbers At Most N Given Digit Set
    动态规划-划分数组的最大和 Split Array Largest Sum
    子序列宽度求和 Sum of Subsequence Widths
    Contest 158
    Bert
  • 原文地址:https://www.cnblogs.com/chenfulai/p/1516406.html
Copyright © 2011-2022 走看看