Esempio n. 1
0
    protected override void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            AssetTypeDropDown.DataSource = Enum.GetNames(typeof(AssetType));
            AssetTypeDropDown.DataBind();

            AssetSubTypeDropDown.DataSource = Enum.GetNames(typeof(AssetSubType));
            AssetSubTypeDropDown.DataBind();
        }
    }
Esempio n. 2
0
    protected override void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            AssetTypeDropDown.DataSource = Enum.GetNames(typeof(AssetType));
            AssetTypeDropDown.DataBind();

            AssetSubTypeDropDown.DataSource = Enum.GetNames(typeof(AssetSubType));
            AssetSubTypeDropDown.DataBind();
        }

        XmlDocument assetListXmlDoc = GetAssetList();

        mAssetListXmlDoc = assetListXmlDoc;
        ListAssetsByType(assetListXmlDoc);
    }