Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                TypesComboBox.DataSource     = commonSitefinityTypes;
                TypesComboBox.DataTextField  = "Name";
                TypesComboBox.DataValueField = "type";

                ClrTypesBox.DataSource     = commonCLRTypes;
                ClrTypesBox.DataTextField  = "Name";
                ClrTypesBox.DataValueField = "type";

                SubscriberList.DataSource = GetSubscribers();
                SubscriberList.DataBind();

                TypesComboBox.DataBind();
                ClrTypesBox.DataBind();
            }
        }