laptop and a wrench

漏洞

Adding a MapTip control to a Web ADF application created from Server manager breaks the application.

上次发布: August 25, 2014 ArcGIS Server (.NET)
漏洞 ID 编号 NIM065871
已提交March 9, 2011
上次修改时间June 5, 2024
适用范围ArcGIS Server (.NET)
找到的版本10.0
编程语言C#
状态Known Limit

附加信息

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.

重现步骤

漏洞 ID: NIM065871

软件:

  • ArcGIS Server (.NET)

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项