laptop and a wrench

漏洞

Common_PartialPostback sample only shows one feature in the 'features in current map extent' list box when the extent changes.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM038055
已提交August 30, 2008
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.3
修正版本9.3
状态Fixed

解决办法

Comment the branching statement that that clears the listbox.Add a line to clear the listbox immediately before the loop that adds each item.'(VB: beginning around line 129)ListBox1.Items.Clear() '**move this before the loopFor Each item As String In arrayList ' If the ScriptManager is not in an asynchronous postback, then the page is in initial load. ' We therefore add the current item to DropDownList1 since it has not yet been populated. ' Otherwise, we skip this step and clear ListBox1 since that control will be re-populated with ' the query results (i.e. features that intersect the new extent) '**Comment the branching statement below** 'If (Not ScriptManager1.IsInAsyncPostBack) Then ' DropDownList1.Items.Add(item) 'Else ' ListBox1.Items.Clear() 'End If ' Add the current item to the listbox ListBox1.Items.Add(item)Next item

重现步骤

漏洞 ID: NIM038055

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项