PageRenderTime 28ms CodeModel.GetById 23ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/admin/Extensions/Settings.ascx

#
ASP.NET | 34 lines | 30 code | 4 blank | 0 comment | 1 complexity | 87efe9fe1abfd831c4660b96017232c8 MD5 | raw file
 1<%@ Control Language="C#" AutoEventWireup="true" Inherits="Admin.Extensions.UserControlSettings" Codebehind="~/admin/Extensions/Settings.ascx.cs" %>
 2<h4><%=SettingName%> <%=Resources.labels.settings %></h4>
 3<div id="ErrorMsg" runat="server" style="color:Red; padding:5px 0 5px 0; display:block;"></div>
 4<div id="InfoMsg" runat="server" style="color:Green; padding:5px 0 5px 0; display:block;"></div>
 5
 6<% if(!string.IsNullOrEmpty(this.Settings.Help)) { %>
 7<div class="alert alert-info"><%=this.Settings.Help%></div>
 8<%} %>
 9
10<div class="form-horizontal">
11    <asp:PlaceHolder ID="phAddForm" runat="server"></asp:PlaceHolder>
12</div>
13
14<div style="margin: 10px 0; padding-bottom: 10px; border-bottom: 1px solid #ccc; display:block">
15    <asp:Button CssClass="btn btn-success btn-header" runat="server" ID="btnAdd" ValidationGroup="new" /> 
16</div>
17
18<asp:GridView ID="grid"  
19        runat="server"
20        class="beTable"
21        GridLines="None"
22        AutoGenerateColumns="False"
23        HeaderStyle-BackColor="#f9f9f9"
24        AlternatingRowStyle-BackColor="#f7f7f7"
25        CellPadding="3" 
26        HeaderStyle-HorizontalAlign="Left"
27        BorderStyle="Ridge"
28        BorderWidth="1"
29        Width="100%"
30        AllowPaging="True" 
31        AllowSorting="True"
32        onpageindexchanging="GridPageIndexChanging" 
33        OnRowDataBound="GridRowDataBound" >
34 </asp:GridView>