Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmOptionsDataControl
Message
De
25/07/2008 16:54:26
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmOptionsDataControl
Divers
Thread ID:
01334157
Message ID:
01334157
Vues:
44
Hi,

I am having problems getting the selected value out of the mmOptionsDataControl control.

I have put this control on my own login form and added the following event on the Login button.
        private void buttonLogin_Click(object sender, EventArgs e)
        {
            if (this._DataControl.Visible)
            {
                string sKey = this._DataControl.GetSelectedDatabaseSet();

                mmAppBase.DatabaseMgr.DatabaseSetKey = sKey;

                
            }
     
        }
No matter which option I select in the mmOptionsDataControl the value returned by GetSelectedDatabaseSet() is always the value of the DatabaseSetDefault key as set up in the app.config file.

I had a look at the GetSelectedDatabaseSet() code and can't see a problem right off.

Any ideas?

Tim
Répondre
Fil
Voir

Click here to load this message in the networking platform