Common_MapTips_VBNet\ConditionalFormatting.aspx.vb
' Copyright 2010 ESRI ' ' All rights reserved under the copyright laws of the United States ' and applicable international laws, treaties, and conventions. ' ' You may freely redistribute and use this sample code, with or ' without modification, provided you include the original copyright ' notice and use restrictions. ' ' See the use restrictions. ' Imports Microsoft.VisualBasic Imports System Partial Public Class ConditionalFormatting Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) ' Here we specify the MapTips content to contain one row that displays the population ' density field MapTips1.LayerFormat.Contents = "" & ControlChars.CrLf & " <table cellpadding='3px'>" & ControlChars.CrLf & " <tr>" & ControlChars.CrLf & " <td>Population Density:</td>" & ControlChars.CrLf & " <td>{POP00_SQMI}</td>" & ControlChars.CrLf & " </tr>" & ControlChars.CrLf & " </table>" End Sub ' Expose the AJAX component ID of the MapTips graphic feature group to the client Public ReadOnly Property MapTipsGraphicsLayerID() As String Get Return MapTips1.GraphicsLayerClientID End Get End Property End Class