Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmOptionsDataControl
Message
From
25/07/2008 16:54:26
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmOptionsDataControl
Miscellaneous
Thread ID:
01334157
Message ID:
01334157
Views:
45
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
Reply
Map
View

Click here to load this message in the networking platform