completata riscrittura selettore stato schede tradotto e graficamente ok...

This commit is contained in:
Samuele E. Locatelli
2015-09-16 08:35:57 +02:00
parent b0e1df6eb5
commit 9f2fa0d037
8 changed files with 13 additions and 8 deletions
+1 -8
View File
@@ -26,15 +26,8 @@
<div class="panel-body">
<div class="row" style="min-height: 3.3em;">
<div class="col-sm-12">
<asp:RadioButtonList ID="rblQState" runat="server" AutoPostBack="True" class="btn-group btn-group-justified" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="rblQState_SelectedIndexChanged" DataSourceID="ods_rblQState" DataTextField="label" DataValueField="value">
<asp:ListItem class="btn btn-default btn-xs" data-bind="Name: Value"></asp:ListItem>
<asp:RadioButtonList ID="rblQState" runat="server" AutoPostBack="True" class="btn-group btn-group-justified" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="rblQState_SelectedIndexChanged" DataSourceID="ods_rblQState" DataTextField="label" DataValueField="value" CssClass="btn-group btn-group-justified" OnPreRender="rblQState_PreRender">
</asp:RadioButtonList>
<%--<asp:ListItem Value="-1" Selected="True" class="btn btn-default btn-xs">All</asp:ListItem>
<asp:ListItem Value="0" Text="Draft" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="1" Text="Compl" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="2" Text="Appr" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="3" Text="Rel" class="btn btn-default btn-xs"></asp:ListItem>--%>
<asp:ObjectDataSource ID="ods_rblQState" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableFieldLang" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="OffersArchive" Name="TableName" Type="String" />
@@ -579,5 +579,17 @@ namespace C2P.WebUserControls
{
showSearch();
}
protected void rblQState_PreRender(object sender, EventArgs e)
{
// applico stile a tutti oggetti listitem!
foreach (ListItem item in rblQState.Items)
{
item.Attributes.Remove("class");
item.Attributes.Add("class", "btn btn-default btn-xs");
}
}
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.