Exemplo n.º 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)
                {
                    ProgressbarEventArgs e = new ProgressbarEventArgs(StringConvert.ToObject <int> (parts[1]));

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


                break;

            case "complete":

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

                    this.onComplete(e);
                    this.CompleteSync(this, e);
                }

                break;
            }
        }
Exemplo n.º 2
0
 protected void Progressbar1_ChangeSync(object sender, zoyobar.shared.panzer.ui.jqueryui.ProgressbarEventArgs e)
 {
 }
Exemplo n.º 3
0
 protected void Progressbar1_CompleteSync(object sender, zoyobar.shared.panzer.ui.jqueryui.ProgressbarEventArgs e)
 {
     this.Response.Write(e.Value.ToString( ) + "sdfdfe");
 }
Exemplo n.º 4
0
 private void onComplete(ProgressbarEventArgs e)
 {
     this.Value = e.Value;
 }
Exemplo n.º 5
0
 private void onChange(ProgressbarEventArgs e)
 {
     this.Value = e.Value;
 }