⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forumgrouplistcontrol.ascx

📁 community server 源码
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ForumGroupListControl.ascx.cs" Inherits="CommunityServer.ControlPanel.Forums.ForumGroupListControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<script type="text/javascript">
function onCallbackError(excString)
{
	if (confirm('<%= CommunityServer.ControlPanel.Components.ResourceManager.GetString("CP_CallBackWarning") %>')) alert(excString); 
	<%= Grid1.ClientID %>.Page(1); 
    window.location = window.location;
}
function DeleteCallback(res)
{
    refresh();
}
function onDelete(item)
{
	return confirm('<%= DeleteWarning %>'); 
}

function deleteRow(rowId)
{
	<%= Grid1.ClientID %>.Delete(<%= Grid1.ClientID %>.GetRowFromClientId(rowId)); 
}
</script>
<div id="GrayGrid" >
<ca:grid id="Grid1" runat="server" 
	autocallbackoninsert="false" 
	autocallbackonupdate="false" 
	autocallbackondelete="true" 
	clientsideoncallbackerror="onCallbackError" 
	ClientSideOnDelete="onDelete" 
	>
	<levels>
	<ca:gridlevel datakeyfield="GroupID" >
		<columns>
			<ca:gridcolumn datafield="Name" headingtext="ResourceManager.CP_Photos_GridCol_Name" />
			<ca:gridcolumn datafield="GroupID" headingtext="ResourceManager.CP_Photos_GridCol_Actions" width="120" align="Center" allowgrouping="false" datacellcssclass="LastDataCell" />
		</columns>
	</ca:gridlevel>
	</levels>
</ca:grid>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -