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);

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2021-08-23
  • 2022-02-22
  • 2021-05-20
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
猜你喜欢
  • 2021-07-09
  • 2021-07-07
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-12-01
相关资源
相似解决方案