Create Features panel in EditorTask needs to allow scrolling when there are a large number of values displayed.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM038146
已提交
September 3, 2008
上次修改时间
April 28, 2025
适用范围
No Product Found
找到的版本
9.3
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
Write code for the EditorTask EditorPanelsCreated event (as shown below) that applies a style to the create feature panel that specifies a height. Scrollbars will apear if the content of the panel is larger than the specified height. protected void EditorTask1_EditorPanelsCreated(object sender, ESRI.ArcGIS.ADF.ArcGISServer.Editor.EditorPanelsCreatedEventArgs e) { //get the "create feature" panel from the Editor task (should be the first one) ESRI.ArcGIS.ADF.ArcGISServer.Editor.CreateFeaturePanel pnlCreateFeature = e.EditorPanels[0] as ESRI.ArcGIS.ADF.ArcGISServer.Editor.CreateFeaturePanel; if (pnlCreateFeature == null) { return; } //apply a new style to the control with a specified height (75px). //the scrollbar will automatically appear (overflow:auto) Style stl = new Style(); stl.Height = System.Web.UI.WebControls.Unit.Pixel(75); pnlCreateFeature.ApplyStyle(stl); }