gyhlw_dotnet/网站项目/VRS/Management/VSAT/FlowManage.aspx

130 lines
6.7 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlowManage.aspx.cs" Inherits="VRS.Management.VSAT.FlowManage" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>流程管理</title>
<link href="../../Css/BaseStyle.css" type="text/css" rel="Stylesheet" />
<link href="../../Assets/Layui/css/bootstrap.min.css" rel="stylesheet" />
</head>
<script type="text/javascript">
//关闭模式窗口
function CloseAndRebind(args) {
GetRadWindow().Close();
GetRadWindow().BrowserWindow.refreshGrid(args);
}
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
return oWindow;
}
//关闭模式窗口
function CloseRadWindow() {
GetRadWindow().Close();
}
</script>
<script type="text/javascript" id="telerikClientEvents1">
//<![CDATA[
function btnSure_Clicked(sender, args) {
//Add JavaScript handler code here
CloseRadWindow();
}
//]]>
</script>
<script type="text/javascript" id="telerikClientEvents2">
//<![CDATA[
function btnCancel_Clicked(sender, args) {
//Add JavaScript handler code here
CloseRadWindow();
}
</script>
<body>
<br />
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"></asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"></asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"></asp:ScriptReference>
</Scripts>
</telerik:RadScriptManager>
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1"></telerik:RadAjaxLoadingPanel>
<div class="demo-container size-narrow" id="DemoContainer1" runat="server">
<div class="wrapper">
<telerik:RadListBox RenderMode="Lightweight" runat="server" ID="RadListBoxSource" Height="500px" Width="500px" Skin="Bootstrap"
AllowTransfer="true" TransferToID="RadListBoxDestination" AutoPostBackOnTransfer="true" Font-Size="Smaller"
ButtonSettings-AreaWidth="35px" OnTransferred="RadListBoxSource_Transferred" SelectionMode="Multiple" EnableDragAndDrop="true" >
<HeaderTemplate><span style="font-size:small">未选流程</span></HeaderTemplate>
<ItemTemplate>
<%--<span><%# int.Parse(DataBinder.Eval(Container, "Index").ToString())+1%>、</span> --%>
<span><%# DataBinder.Eval(Container, "Text")%>-<%# DataBinder.Eval(Container, "Value")%></span>
</ItemTemplate>
<Items>
<telerik:RadListBoxItem Text="Australia"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="Brazil"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="Canada"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="China"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="England"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="France"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="Germany"></telerik:RadListBoxItem>
<telerik:RadListBoxItem Text="USA"></telerik:RadListBoxItem>
</Items>
</telerik:RadListBox>
<telerik:RadListBox RenderMode="Lightweight" AllowReorder="true" runat="server" ID="RadListBoxDestination" Height="500px" Width="500px" Skin="Bootstrap"
ButtonSettings-AreaWidth="35px" AutoPostBackOnReorder="true" OnReordered="RadListBoxDestination_Reordered" Font-Size="Smaller" SelectionMode="Multiple" EnableDragAndDrop="true" >
<HeaderTemplate><span style="font-size:small">已选流程</span><span runat="server" style="color:red" id="span_name"></span></HeaderTemplate>
<ItemTemplate>
<span><%# int.Parse(DataBinder.Eval(Container, "Index").ToString())+1%>、</span>
<span><%# DataBinder.Eval(Container, "Text")%>-<%# DataBinder.Eval(Container, "Value")%></span>
</ItemTemplate>
</telerik:RadListBox>
</div>
</div>
<asp:HiddenField ID="UseFor" runat="server" Value="Sim" />
<br />
<br />
<div>
<table class="table-form" >
<tr>
<td class="base-bottom" colspan="4">
<input class="mybtn btn btn-success" type="button" value="保存" onclick="$('#btnSure').click()"/>
<input class="mybtn btn btn-danger" type="button" value="取消" onclick="CloseRadWindow()"/>
<div class="hidden">
<telerik:RadButton ID="btnSure" runat="server" CssClass="btn btn-success" Skin="Bootstrap" Width="120px" Text="确定" AutoPostBack="true" OnClick="btnSure_Click"></telerik:RadButton>
<telerik:RadButton ID="btnCancel" runat="server" Skin="Bootstrap" Width="120px" Text="取消" AutoPostBack="False" OnClientClicked="CloseRadWindow" Style="position: relative;"></telerik:RadButton>
</div>
</td>
</tr>
</table>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnSure">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnSure" UpdatePanelCssClass="" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="DemoContainer1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="ConfigurationPanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
</form>
</body>
</html>