Exemple #1
0
 protected void Page_Init(object sender, EventArgs e)
 {
     if (Session["dataMerge"] != null)
     {
         ASPxRichEdit1.DataSource = Session["dataMerge"];
         ASPxRichEdit1.DataBind();
     }
 }
Exemple #2
0
 protected void ASPxCallbackPanel1_Callback(object sender, CallbackEventArgsBase e)
 {
     ASPxRichEdit1.New();
     if (Convert.ToInt32(ASPxComboBox1.Value) == 1)
     {
         Session["dataMerge"] = MergeDataModels.GetTestData1();
     }
     else
     {
         Session["dataMerge"] = MergeDataModels.GetTestData2();
     }
     ASPxRichEdit1.DataSource = Session["dataMerge"];
     ASPxRichEdit1.DataBind();
 }