Adding a MapTip control to a Web ADF application created from Server manager breaks the application.
最後に公開された状態: August 25, 2014ArcGIS Server (.NET)
不具合 ID 番号
NIM065871
送信されました
March 9, 2011
最終更新日
June 5, 2024
適用対象
ArcGIS Server (.NET)
見つかったバージョン
10.0
プログラム言語
C#
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.
対処法
Create the application in Visual Studio with the Visual Studio template, not the Manager template.1. Start Visual Studio.2. Click File > New > Web site.3. Under installed templates, make sure Visual C# is selected.4. Also in the New Web Site Dialog near the top center, set the left dropdown to the .NET Framework 3.5.5. In the list of templates, click Web Mapping Application.6. Click OK to create the application. (This uses the same or a similar template that the Server Manager does, so there may be some time savings.)7. When the project opens, click on the default.aspx and go to Design view.8. In design view, go the MapResourceManager1 and add a resource.9. Set the Type to an internet.10. For the Data Source use this URL: <a href="http://sampleserver1.arcgisonline.com/arcgis/services" target="_blank">http://sampleserver1.arcgisonline.com/arcgis/services</a>.11. For the Resource use: Layers@Specialty/ESRI_StatesCitiesRivers_USA.12. Click OK as needed.Next add a MapTips control: 1. In the Toolbox, under ArcGIS Web Controls, find MapTips.2. Instead of dragging the MapTips onto the page, in the Toolbox, double-click the MapTips control and it is automatically added to the page.3. Click the Format menu > Set Position > Absolute.4. Press and hold the "Down Arrow" key on the keyboard.5. Watch the MapTip box move downward; keep moving it until it is below the TOC control and even below the TaskManager control.6. Now the MapTips control is not near any other controls.7. Set the MapTips Layer property to ESRI_StatesCitiesRivers_USA.8. Set the MapTips Map property to Map1.9. Run the application10. The states are now visible; hover over one, click, and see the maptip.