Example #1
0
    protected void FormView_PIO_ItemInserting(object sender, FormViewInsertEventArgs e)
    {
        RadioButtonList Radio_BPL = FormView_PIO.FindControl("Radio_applbpl") as RadioButtonList;

        e.Values["Appl_BPL"] = Convert.ToBoolean(Radio_BPL.SelectedValue);

        RadioButtonList Radio_information = FormView_PIO.FindControl("Radio_information") as RadioButtonList;

        e.Values["Information"] = Radio_information.SelectedValue;

        DropDownList Drop_FeeMode = FormView_PIO.FindControl("Drop_recvdfessmode") as DropDownList;

        e.Values["Recvd_Fees_Mode"] = Drop_FeeMode.SelectedValue;

        RadioButtonList Radio_InfoSend = FormView_PIO.FindControl("Radio_informationsend") as RadioButtonList;

        e.Values["Info_Send"] = Convert.ToBoolean(Radio_InfoSend.SelectedValue);
    }
Example #2
0
 protected void Button_new_Click(object sender, EventArgs e)
 {
     Multiview_PIO.SetActiveView(Multiview_PIO.Views[1]);
     FormView_PIO.ChangeMode(FormViewMode.Insert);
 }