Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         SectionTreeList.DataBind();
         SectionTreeList.ExpandToLevel(1);
         TreeListNode node = SectionTreeList.FindNodeByFieldValue("code", "21-020101");
         if (node != null)
         {
             node.Focus();
             Session["sec_id"] = node.Key;
         }
         MaterialsGridView.DataBind();
     }
 }
Beispiel #2
0
 protected void MaterialsGridView_CustomCallback(object sender, DevExpress.Web.ASPxGridViewCustomCallbackEventArgs e)
 {
     Session["sec_id"] = e.Parameters;
     MaterialsGridView.DataBind();
 }