protected void cmbCt_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        try
        {
            Associate associate = new Associate(SessionManager.GetSessionValueNoRedirect(this, SessionStrings.CONNECTION_MANAGER));
            associate.IdCountry = int.Parse(cmbCt.SelectedValue);
            DataSet associateDataSet = associate.SelectActiveAssociates();

            DSUtils.AddEmptyRecord(associateDataSet.Tables[0]);
            cmbAs.DataSource     = associateDataSet;
            cmbAs.DataMember     = associateDataSet.Tables[0].TableName;
            cmbAs.DataTextField  = "Name";
            cmbAs.DataValueField = "Id";
            cmbAs.DataBind();
        }
        catch (IndException ex)
        {
            ShowError(ex);
            return;
        }
        catch (Exception ex)
        {
            ShowError(new IndException(ex));
            return;
        }
    }
    private void PopulateControls()
    {
        Country country        = new Country(SessionManager.GetSessionValueNoRedirect(this, SessionStrings.CONNECTION_MANAGER));
        DataSet countryDataSet = country.GetAll();

        DSUtils.AddEmptyRecord(countryDataSet.Tables[0]);
        cmbCt.DataSource     = countryDataSet;
        cmbCt.DataMember     = countryDataSet.Tables[0].TableName;
        cmbCt.DataTextField  = "Name";
        cmbCt.DataValueField = "Id";
        cmbCt.DataBind();

        Associate associate        = new Associate(SessionManager.GetSessionValueNoRedirect(this, SessionStrings.CONNECTION_MANAGER));
        DataSet   associateDataSet = associate.SelectActiveAssociates();

        DSUtils.AddEmptyRecord(associateDataSet.Tables[0]);
        cmbAs.DataSource     = associateDataSet;
        cmbAs.DataMember     = associateDataSet.Tables[0].TableName;
        cmbAs.DataTextField  = "Name";
        cmbAs.DataValueField = "Id";
        cmbAs.DataBind();
    }