Ejemplo 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();
        }
    }
Ejemplo 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);
    }