protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { CreateMap(); WebToolBar1.WebMapID = "WebMap1"; WebToolBar1.CreateStandardButtons(); WebLegend1.WebMapID = "WebMap1"; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; CreateMap(); WebToolBar1.WebMapID = "WebMap1"; WebToolBar1.CreateStandardButtons(); WebLegend1.WebMapID = "WebMap1"; } }