Aggiunta mod x setup default su commenti
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<asp:DropDownList runat="server" ID="dlPageSize" CssClass="form-control form-control-sm bg-dark text-light" AutoPostBack="true">
|
||||
<asp:ListItem>5</asp:ListItem>
|
||||
<asp:ListItem>10</asp:ListItem>
|
||||
<asp:ListItem>15</asp:ListItem>
|
||||
<asp:ListItem Text="15" Value="15" Selected="True" />
|
||||
<asp:ListItem>20</asp:ListItem>
|
||||
<asp:ListItem>30</asp:ListItem>
|
||||
<asp:ListItem>50</asp:ListItem>
|
||||
|
||||
@@ -15,7 +15,10 @@ namespace MoonProTablet.WebUserControls
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if(!Page.IsPostBack)
|
||||
{
|
||||
dlPageSize.DataBind();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// abilitazione edit commenti
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
<asp:DropDownList ID="ddlDurataMin" runat="server" AutoPostBack="true" CssClass="form-control form-control-sm bg-secondary text-light" OnSelectedIndexChanged="ddlDurataMin_SelectedIndexChanged">
|
||||
<asp:ListItem Text="5'" Value="5" />
|
||||
<asp:ListItem Text="10'" Value="10" />
|
||||
<asp:ListItem Text="20'" Value="20" Selected="True" />
|
||||
<asp:ListItem Text="15'" Value="15" Selected="True" />
|
||||
<asp:ListItem Text="20'" Value="20" />
|
||||
<asp:ListItem Text="30'" Value="30" />
|
||||
<asp:ListItem Text="1h" Value="60" />
|
||||
<asp:ListItem Text="2h" Value="120" />
|
||||
|
||||
Reference in New Issue
Block a user