laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 ArcGIS Server (.NET)
Bug-ID-Nummer NIM065871
EingereichtMarch 9, 2011
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Server (.NET)
Gefunden in Version10.0
ProgrammspracheC#
StatusKnown Limit

Zusätzliche Informationen

10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: NIM065871

Software:

  • ArcGIS Server (.NET)

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln