Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmOptionsDataControl
Message
De
06/08/2008 10:45:34
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmOptionsDataControl
Divers
Thread ID:
01336892
Message ID:
01336892
Vues:
54
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