예제 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ButtonHelper.SetBackButton(Master.LeftButton, "~/Default.aspx");
        Master.RightButton.CssClass += " mark-complete";

        hl_edit.Attributes["data-role"]    = "button";
        hl_edit.Attributes["data-icon"]    = "edit";
        hl_edit.Attributes["data-iconpos"] = "left";
        hl_edit.Attributes["data-ajax"]    = "false";

        hl_delete.Attributes["data-role"]    = "button";
        hl_delete.Attributes["data-iconpos"] = "left";
        hl_delete.Attributes["data-icon"]    = "delete";
        hl_delete.Attributes["data-rel"]     = "popup";

        hl_delete_cancel.Attributes["data-role"]   = "button";
        hl_delete_cancel.Attributes["data-inline"] = "true";
        hl_delete_cancel.Attributes["data-rel"]    = "back";
        hl_delete_cancel.Attributes["data-theme"]  = "c";

        btn_delete_confirm.Attributes["data-role"]   = "button";
        btn_delete_confirm.Attributes["data-inline"] = "true";
        btn_delete_confirm.Attributes["data-rel"]    = "back";
        btn_delete_confirm.Attributes["data-theme"]  = "b";

        if (Page.IsPostBack)
        {
            return;
        }

        GetReminderDetails();
    }
예제 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ButtonHelper.SetBackButton(Master.LeftButton, "~/Default.aspx");
        ButtonHelper.HideButton(Master.RightButton);

        btn_submit.Attributes["data-icon"] = "check";
        btn_reset.Attributes["data-icon"]  = "delete";

        if (Page.IsPostBack)
        {
            return;
        }

        SetCategories();
    }
예제 #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ButtonHelper.SetBackButton(Master.LeftButton);
        ButtonHelper.HideButton(Master.RightButton);

        btn_back.Attributes["data-role"]    = "button";
        btn_back.Attributes["data-icon"]    = "back";
        btn_back.Attributes["data-iconpos"] = "left";

        btn_update.Attributes["data-role"]    = "button";
        btn_update.Attributes["data-icon"]    = "update";
        btn_update.Attributes["data-iconpos"] = "left";

        if (Page.IsPostBack)
        {
            return;
        }

        GetReminderDetails();
        SetCategories();
    }