completato test modulo autocomplete: da usare!
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
@@ -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.
Binary file not shown.
Reference in New Issue
Block a user