Exemple #1
0
 protected void TableA9_PreRender(object sender, EventArgs e)
 {
     for (var i = 0; i < TableA8.Rows.Count; i++)
     {
         var r = TableA8.FindControl("RadioButtonListA8_" + (i + 1).ToString()) as RadioButtonList;
         TableA9.Rows[i].Visible = r.SelectedValue == "1";
     }
 }
Exemple #2
0
    protected void QAC_A8(object sender, EventArgs e)
    {
        var anyOne = false;

        for (var i = 0; i < TableA8.Rows.Count; i++)
        {
            var r = TableA8.FindControl("RadioButtonListA8_" + (i + 1).ToString()) as RadioButtonList;
            if (r.SelectedValue == "1")
            {
                anyOne = true;
            }
            saveData(801 + i, r.SelectedValue);
        }
        Button20.CommandName = anyOne ? "Panel7" : "Panel8";
        standartNext(sender, e);
    }