WPF Task, open selectFeatureTypePage

823
1
12-03-2012 12:27 AM
GuntisZarins
New Contributor
Hi,

I'm trying create my own task, which starts with Feature Type choice page. Page opening without errors but empty ( without any feature type ). What i'm doing wrong?

            mApp = MobileApplication.Current;

            try
            {
                SelectFeatureTypePage _featureTypePage = new SelectFeatureTypePage();
                _featureTypePage.FeatureTypeSelected += new EventHandler<ESRI.ArcGIS.Mobile.Client.Controls.FeatureTypeEventArgs>(_featureTypePage_FeatureTypeSelected);
                _featureTypePage.ClickBack += new EventHandler(_featureTypePage_ClickBack);
                _featureTypePage.ShowFeatureSources = true;
                mApp.Transition(_featureTypePage);
                _featureTypePage.Title = this.Name;
                _featureTypePage.ImageSource = this.ImageSource;
            }
            catch (Exception ex)
            {
                CommonFunc.logException(ex);
            }

0 Kudos
1 Reply
JohnFannon
Occasional Contributor III

Hi

I appreciate it's been a while, but did you ever find an answer to this?

I'm trying to do the same, but have hit the same issue where no feature types are shown in the SelectFeatureTypesPage. 

Regards

John

0 Kudos