コード例 #1
0
 public static void BindEOCallBack(WebControl Wc, EO.Web.Callback EOCb, System.Web.UI.Page Page)
 {
     System.Text.StringBuilder Sb_Js = new System.Text.StringBuilder();
     Sb_Js.AppendLine(@"function ButtonClick_" + Page.ClientID + Wc.ClientID + @"() {");
     Sb_Js.AppendLine(@"eo_Callback('" + EOCb.ClientID + @"','" + Wc.ID + @"')");
     Sb_Js.AppendLine(@"}");
     Page.ClientScript.RegisterClientScriptBlock(typeof(string), Wc.ClientID, Sb_Js.ToString(), true);
     Wc.Attributes.Add("onclick", "ButtonClick_" + Page.ClientID + Wc.ClientID + "(); return false;");
 }
コード例 #2
0
 protected void SetupPage_ControlAttributes_BindEOCallback(WebControl Wc, EO.Web.Callback EOCb)
 {
     Layer01_Common_Web_EO.Common.Layer01_Methods_Web_EO.BindEOCallBack(Wc, EOCb, this.Page);
 }