示例#1
0
        public void RaisePostBackEvent(string eventArgument)
        {
            if (string.IsNullOrEmpty(eventArgument))
            {
                return;
            }

            string[] parts = eventArgument.Split(';');

            switch (parts[0])
            {
            case "change":

                if (null != this.ChangeSync)
                {
                    AccordionEventArgs e = new AccordionEventArgs(StringConvert.ToObject <int> (parts[1]));

                    this.onChange(e);
                    this.ChangeSync(this, e);
                }

                break;
            }
        }
示例#2
0
 protected void A_ChangeSync1(object sender, zoyobar.shared.panzer.ui.jqueryui.AccordionEventArgs e)
 {
     this.Response.Write(e.Active.ToString( ) + "sdfdfe");
 }
示例#3
0
 private void onChange(AccordionEventArgs e)
 {
     this.Active = e.Active;
 }