completato test modulo autocomplete: da usare!

This commit is contained in:
Samuele Locatelli
2013-05-13 16:36:56 +02:00
parent bb3bf601d0
commit cef16dc5ae
7 changed files with 16 additions and 0 deletions
+2
View File
@@ -27,4 +27,6 @@
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<uc2:mod_autocomplete ID="mod_autocomplete1" runat="server" ServicePath="/Services/WS_data.asmx/Test" minCharAutocomplete="3" contextKey="a" />
<br />
<i><asp:Label runat="server" ID="lblValore" /></i>
</asp:Content>
+5
View File
@@ -11,7 +11,12 @@ namespace PROJ_ETS
{
protected void Page_Load(object sender, EventArgs e)
{
mod_autocomplete1.eh_valSelezionato += mod_autocomplete1_eh_valSelezionato;
}
private void mod_autocomplete1_eh_valSelezionato(object sender, EventArgs e)
{
lblValore.Text = string.Format("Valore selezionato:{0}", mod_autocomplete1.valore);
}
}
}
+9
View File
@@ -29,5 +29,14 @@ namespace PROJ_ETS {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_autocomplete mod_autocomplete1;
/// <summary>
/// lblValore 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 lblValore;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.