Ejemplo n.º 1
0
    protected void uxStateFooter_RefreshHandler(object sender, EventArgs e)
    {
        AdminAdvanced_Components_StateList   stateList   = (AdminAdvanced_Components_StateList)uxTaxClassRuleGrid.FooterRow.FindControl("uxStateList");
        AdminAdvanced_Components_CountryList countryList = (AdminAdvanced_Components_CountryList)uxTaxClassRuleGrid.FooterRow.FindControl("uxCountryList");

        stateList.CountryCode = countryList.CurrentSelected;
        stateList.Refresh();
    }
    protected void uxState_RefreshHandler(object sender, EventArgs e)
    {
        int index = uxGrid.EditIndex;
        AdminAdvanced_Components_StateList   stateList   = (AdminAdvanced_Components_StateList)uxGrid.Rows[index].FindControl("uxStateList");
        AdminAdvanced_Components_CountryList countryList = (AdminAdvanced_Components_CountryList)uxGrid.Rows[index].FindControl("uxCountryList");

        stateList.CountryCode = countryList.CurrentSelected;
        stateList.Refresh();
    }