/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ModuleMaster/qc/tf.aspx
66 строк
3 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="tf.aspx.vb" Inherits="Xml_viewTable" EnableEventValidation="false" ValidateRequest="false" MaintainScrollPositionOnPostback="true" %> <%@ Register Src="~/UserControls/editableGridNew.ascx" TagPrefix="uc1" TagName="editableGridNew" %> <%--<%@ Register Src="~/UserControls/editableGrid.ascx" TagPrefix="uc1" TagName="editableGrid" %>--%> <%@ Register Src="~/UserControls/graphForTable.ascx" TagPrefix="uc1" TagName="graphForTable" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Module Master Table Viever</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Path="~/Scripts/jquery-1.9.1.min.js" /> </Scripts> </asp:ScriptManager> <uc1:editableGridNew ID="edTableToView" runat="server" TableId="635" /> </div> <div id="reportWrapper" style="font-size: x-small; background-color: white; border : 1px solid gray; width:30%; height: 500px; padding: 10px; display: none;"> <img runat="server" src="../Images/cancel.png" class="icon_small action" id="closeReport" title="Close" alt="" /> <div id="reportBody" style="overflow-y: scroll; overflow-x:hidden; height: 90%"></div> </div> <script type="text/javascript"> jQuery.fn.center = function () { this.css("position", "absolute"); this.css("top", (($(window).height() - this.outerHeight()) / 2) + $(window).scrollTop() + "px"); this.css("left", (($(window).width() - this.outerWidth()) / 2) + $(window).scrollLeft() + "px"); return this; } function showDialog(commandName) { if (commandName == "REOCCURANCE_REPORT") { var request = $.ajax({ url: "reoccurance.ashx", //data: { // pid: curProj, // score: scores, // comment: $("#comment").val() //} }); request.done(reportSuccess); request.fail(reportFails); } else { } } function reportSuccess(data) { $("#reportBody").html(data) $("#reportWrapper").css("display", "inline"); $("#reportWrapper").center(); } function reportFails() { } $("#closeReport").click(function () { $("#reportBody").html(""); $("#reportWrapper").css("display", "none"); }) </script> </form> </body> </html>