Esempio n. 1
0
    public override void RenderPage()
    {
        if (ApplicationID.IsNoNull())
        {
            List <string> objIDPathList = objLogRule.loger_application.Where(s => s.ApplicationID == ApplicationID).Select(s => s.IDPath).ToList <string>();

            if (objIDPathList.Count > 0)
            {
                treeContent.ExpandPath = objIDPathList.First();
            }
        }
        XmlDataSource.Data     = objLogRule.GetApplicationXmlText("ApplicationInfo.aspx");
        treeContent.DataSource = XmlDataSource;
        treeContent.DataBind();
    }
Esempio n. 2
0
 public override void RenderPage()
 {
     XmlDataSource.Data     = objLogRule.GetApplicationXmlText("OperationLogList.aspx");
     treeContent.DataSource = XmlDataSource;
     treeContent.DataBind();
 }