update pagina

This commit is contained in:
Samuele E. Locatelli
2014-04-09 16:02:46 +02:00
parent 072a00f2aa
commit ee956c868b
11 changed files with 38 additions and 5 deletions
+5
View File
@@ -32,6 +32,11 @@ a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* formato gridview compatto (es magazzini) */
.didascalia {
color: #696969;
font-size: 7pt;
}
/* altri fix */
.warnRed {
color: red;
+5
View File
@@ -45,6 +45,11 @@ a:focus {
/* formato gridview compatto (es magazzini) */
.didascalia {
color: #696969;
font-size: 7pt;
}
/* altri fix */
.warnRed {
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.6.39.0")]
[assembly: AssemblyFileVersion("0.6.39.0")]
[assembly: AssemblyVersion("0.6.40.0")]
[assembly: AssemblyFileVersion("0.6.40.0")]
@@ -245,6 +245,7 @@
</Columns>
</asp:GridView>
<asp:Label runat="server" ID="lblResults" CssClass="didascalia"><%: numRecords %></asp:Label>
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBySearch" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="QuoteFull_Q_update">
<%--FilterExpression="ClientName LIKE '%{0}%' OR RawMat LIKE '%{0}%' OR CodItem LIKE '%{0}%'"
<FilterParameters>
+15 -2
View File
@@ -173,7 +173,16 @@ namespace C2P.WebUserControls
}
return answ;
}
/// <summary>
/// stringa formattata del numero di record mostrati
/// </summary>
public string numRecords
{
get
{
return string.Format("{0} ({1})", grView.Rows.Count, grView.PageSize * grView.PageCount);
}
}
protected void txtCerca_TextChanged(object sender, EventArgs e)
{
@@ -212,7 +221,11 @@ namespace C2P.WebUserControls
// mostro il gridview!
grView.Visible = true;
}
/// <summary>
/// reset ricerca
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtReset_Click(object sender, EventArgs e)
{
Response.Redirect("OffersArchive");
+9
View File
@@ -156,6 +156,15 @@ namespace C2P.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// lblResults control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblResults;
/// <summary>
/// odsQuotes control.
/// </summary>
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.