隐患整改导出
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全隐患及整改要求" runat="server" AllowCellEditing="true"
|
||||
DataKeyNames="RectifyNoticesItemId" DataIDField="RectifyNoticesItemId" EnableColumnLines="true"
|
||||
DataKeyNames="RectifyNoticesItemId" DataIDField="RectifyNoticesItemId" EnableColumnLines="true" EnableCollapse="true"
|
||||
AllowSorting="true" SortField="RectifyNoticesItemId" SortDirection="ASC" EnableTextSelection="True"
|
||||
MinHeight="240px" PageSize="500">
|
||||
<Columns>
|
||||
@@ -176,6 +176,13 @@
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</form>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnPrinter" EnablePostBack="true" runat="server"
|
||||
Text="导出" Icon="Printer" OnClick="btnPrinter_Click" EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:MenuButton>
|
||||
</Items>
|
||||
</f:Menu>
|
||||
<script type="text/javascript">
|
||||
var rdbIsAgreeID = '<%= rdbIsAgree.ClientID %>';
|
||||
var grid1ClientID = '<%= Grid1.ClientID %>';
|
||||
@@ -198,6 +205,15 @@
|
||||
|
||||
// 回发到后台更新
|
||||
__doPostBack('', 'UPDATE_SUMMARY');
|
||||
|
||||
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user