protected void ASPxGridView1_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e)
    {

   //     e.NewValues["CreateBy"] = sk.mlogin.LoginName;
        e.NewValues["CreateDate"] = DateTime.Now;

        e.NewValues["CreateBy"] = sk.mlogin.LoginName;


        ASPxPageControl pageControl = ASPxGridView1.FindEditFormTemplateControl("ASPxPageControl1") as ASPxPageControl;

        ASPxHtmlEditor CC_Evidence = pageControl.FindControl("CC_Evidence") as ASPxHtmlEditor;
        e.NewValues["CC_Evidence"] = CC_Evidence.Html;
        ASPxRadioButtonList CC_Point = pageControl.FindControl("CC_Point") as ASPxRadioButtonList;
        e.NewValues["CC_Point"] = CC_Point.Value;

        //ASPxHtmlEditor NOC_Evidence = ASPxGridView1.FindEditFormTemplateControl("NOC_Evidence") as ASPxHtmlEditor;
        //e.NewValues["NOC_Evidence"] = NOC_Evidence.Html;
        //ASPxRadioButtonList NOC_Point = ASPxGridView1.FindEditFormTemplateControl("NOC_Point") as ASPxRadioButtonList;
        //e.NewValues["NOC_Point"] = NOC_Point.Value;

        //ASPxHtmlEditor SOC_Evidence = ASPxGridView1.FindEditFormTemplateControl("SOC_Evidence") as ASPxHtmlEditor;
        //e.NewValues["SOC_Evidence"] = SOC_Evidence.Html;
        //ASPxRadioButtonList SOC_Point = ASPxGridView1.FindEditFormTemplateControl("SOC_Point") as ASPxRadioButtonList;
        //e.NewValues["SOC_Point"] = SOC_Point.Value;

        //ASPxHtmlEditor IR_Evidence = ASPxGridView1.FindEditFormTemplateControl("IR_Evidence") as ASPxHtmlEditor;
        //e.NewValues["IR_Evidence"] = IR_Evidence.Html;
        //ASPxRadioButtonList IR_Point = ASPxGridView1.FindEditFormTemplateControl("IR_Point") as ASPxRadioButtonList;
        //e.NewValues["IR_Point"] = IR_Point.Value;

        //ASPxHtmlEditor CTI_Evidence = ASPxGridView1.FindEditFormTemplateControl("CTI_Evidence") as ASPxHtmlEditor;
        //e.NewValues["CTI_Evidence"] = CTI_Evidence.Html;
        //ASPxRadioButtonList CTI_Point = ASPxGridView1.FindEditFormTemplateControl("CTI_Point") as ASPxRadioButtonList;
        //e.NewValues["CTI_Point"] = CTI_Point.Value;


        //ASPxHtmlEditor FORENSIC_Evidence = ASPxGridView1.FindEditFormTemplateControl("FORENSIC_Evidence") as ASPxHtmlEditor;
        //e.NewValues["FORENSIC_Evidence"] = CTI_Evidence.Html;
        //ASPxRadioButtonList FORENSIC_Point = ASPxGridView1.FindEditFormTemplateControl("FORENSIC_Point") as ASPxRadioButtonList;
        //e.NewValues["FORENSIC_Point"] = FORENSIC_Point.Value;








    }

 

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.