protected void apply1_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
        {
            if (string.IsNullOrEmpty(Hatch.Value.ToString()))
            {
                captcha1.HatchStyle = hatchList["BackwardDiagonal"];
            }
            else
            {
                captcha1.HatchStyle = hatchList[Hatch.Value.ToString()];
            }

            if (string.IsNullOrEmpty(charset1.Text))
            {
                captcha1.CharacterSet = "ABCDEFGHIJKLMN01234";
            }
            else
            {
                captcha1.CharacterSet = charset1.Text;
            }
            if (string.IsNullOrEmpty(maxset.Value.ToString()))
            {
                captcha1.MaximumLength = 4;
            }
            else
            {
                captcha1.MaximumLength = int.Parse(maxset.Value.ToString());
            }
        }
Пример #2
0
        protected void Button1_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
        {
            HtmlGenericControl DivEle = new HtmlGenericControl("div");

            DivEle.InnerHtml          = "<img src='Content/images/1.png' class='img' alt='first image' />";
            basicDialog.DialogContent = DivEle;
        }
Пример #3
0
    protected void Button1_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
    {
        state_load();
        this.FlatGrid.DataSource = BindDataSource1();; // AssetList;

        this.FlatGrid.DataBind();
    }
Пример #4
0
        protected void DropBtn_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
        {
            var items = GetListItems();

            items[0].HtmlAttr          = "style='color:red;";
            items[1].HtmlAttr          = "style='color:blue;";
            ddl_ContactType.DataSource = items;
        }
Пример #5
0
 protected void Clear_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
     this.EventLog.InnerHtml = string.Empty;
 }
Пример #6
0
 protected void ButtonNormal_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
     this.EventLog.InnerHtml = "\n Button has been <span class='eventTitle'>clicked</span>.\r\n<br/>" + this.EventLog.InnerHtml;
 }
Пример #7
0
 protected void btnSubmit_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
 }
 protected void ejBtn_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
     this.DateTimePicker1.Value = new DateTime(2020, 10, 20);
 }
Пример #9
0
 protected void SeverClick(object sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
     Syncfusion.JavaScript.Web.ToggleButton toggle1 = (Syncfusion.JavaScript.Web.ToggleButton)Page.FindControl("ToggleButton2");
     Syncfusion.JavaScript.Web.ToggleButton toggle  = (Syncfusion.JavaScript.Web.ToggleButton)Master.FindControl("ToggleButton1");
 }
Пример #10
0
 protected void ButtonLarge_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
 {
     FNGET(lbl_distance.Text);
 }