Использую arcGIS server for Microsoft. net
в стандартном веб приложении в левом верхнем углу создал кнопку для печати
код: <esri:TaskManager ID="TaskManager1" runat="server" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="100px" Width="200px" BuddyControl="TaskMenu">
<esriTasks:PrintTask ID="PrintTask1" runat="server" bordercolor="LightSteelBlue" borderstyle="Outset" borderwidth="1px" font-names="Verdana" font-size="8pt" forecolor="Black" titlebarcolor="WhiteSmoke" Style="z-index: 10000; left: 200px; position: absolute; top: 200px" Width="200px" Visible="False" BackColor="White" Map="Map1" MapCopyrightText="MapCopyrightText1" Title="Печать" ButtonText="Печать" TitleSettings-DisplayInDialog="True" TitleSettings-DefaultValue="Карта " MapSettings-DisplayInDialog="True" MapSettings-DefaultValue="False" ResultsVisible="True" WidthSettings-DisplayInDialog="True" WidthSettings-DefaultValue="2" WidthSettings-WidthList="SizeHeight=3;SizeWidth=3;Name=Small;Unit=Inches:::SizeHeight=5;SizeWidth=5;Name=Medium;Unit=Inches:::SizeHeight=7;SizeWidth=7;Name=Large;Unit=Inches" QualitySettings-DisplayInDialog="False" QualitySettings-DefaultValue="1" ScaleBarSettings-DisplayInDialog="False" ScaleBarSettings-DefaultValue="True" NorthArrowSettings-DisplayInDialog="False" NorthArrowSettings-DefaultValue="True" NorthArrowSettings-DisplayCharacter="ESRI North:176" LegendSettings-Condensed="True" LegendSettings-Columns="3" LegendSettings-ColumnThreshold="3" LegendSettings-DisplayInDialog="False" LegendSettings-DefaultValue="True" LegendSettings-HiddenLayers="СЛОЙ"><TaskResultsContainers><esri:BuddyControl Name="TaskResults1" /></TaskResultsContainers></esriTasks:PrintTask>
как перенести эту функцию(действие) для
<esri:Toolbar ID="Toolbar1" runat="server" BuddyControlType="Map"
*
*
*
*
<esri:Tool ClientAction="" DefaultImage="~/images/i_print.png"
DisabledImage="~/images/i_print.png" HoverImage="~/images/i_print.png"
JavaScriptFile="" Name="Напечатать" SelectedImage="~/images/i_print.png" />
Спасибо)