473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Ajax AutoCompleteExtender

ASP.NET 2.0

I have an AutoCompleteExtender which works fine- I am using name, id pair in
the WebService , but what I am trying to do is: once the user selects an
item from the AutoCompleteExtender I want to automatically retreive data
from the database and populate the fields on the screen.

How do I trigger a server side event after the user selects an item from the
AutoCompleteExtender or retrieve data from database on client side event?

Thank You

Peter

Nov 10 '08 #1
4 11682
Hello Peter,

From your description you are using AutoCompleteExtender and want to
trigger a client or server side (prefered) function when the selected item
is changed, right? If so you can try to set OnClientItemSelected to trigger
a client side function, like below:

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>

<asp:ServiceReference Path="WebService1.asmx" />

</Services>
</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:AutoCompleteExtender OnClientItemSelected="Test"
ID="AutoCompleteExtender1" runat="server"
TargetControlID="TextBox1" ServicePath="WebService1.asmx"
ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
</cc1:AutoCompleteExtender>

<%-- Other UI, such as GridView--%>

</ContentTemplate>
</asp:UpdatePanel>

Then in the JavaScript function you can inform the server.

<script type="text/javascript">
function Test(sender,e)
{

__doPostBack("AutoCompleteExtender1",sender._eleme nt.value);

}
</script>

aspx.cs:

protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
//Check Request.Form["__EVENTTARGET"] and
Request.Form["__EVENTARGUMENT"]
//Update UI
}
}

Please have a try and let me know if it works.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Peter" <cz****@nospam.nospam>
| Subject: Ajax AutoCompleteExtender
| Date: Sun, 9 Nov 2008 19:23:12 -0600
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <uM**************@TK2MSFTNGP03.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP03.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79536
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| ASP.NET 2.0
|
| I have an AutoCompleteExtender which works fine- I am using name, id pair
in
| the WebService , but what I am trying to do is: once the user selects an
| item from the AutoCompleteExtender I want to automatically retreive data
| from the database and populate the fields on the screen.
|
| How do I trigger a server side event after the user selects an item from
the
| AutoCompleteExtender or retrieve data from database on client side event?
|
|
|
| Thank You
|
| Peter
|
|
|
|

Nov 10 '08 #2

"Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
news:fc**************@TK2MSFTNGHUB02.phx.gbl...
Hello Peter,

From your description you are using AutoCompleteExtender and want to
trigger a client or server side (prefered) function when the selected item
is changed, right? If so you can try to set OnClientItemSelected to
trigger
a client side function, like below:

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>

<asp:ServiceReference Path="WebService1.asmx" />

</Services>
</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:AutoCompleteExtender OnClientItemSelected="Test"
ID="AutoCompleteExtender1" runat="server"
TargetControlID="TextBox1" ServicePath="WebService1.asmx"
ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
</cc1:AutoCompleteExtender>

<%-- Other UI, such as GridView--%>

</ContentTemplate>
</asp:UpdatePanel>

Then in the JavaScript function you can inform the server.

<script type="text/javascript">
function Test(sender,e)
{

__doPostBack("AutoCompleteExtender1",sender._eleme nt.value);

}
</script>

aspx.cs:

protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
//Check Request.Form["__EVENTTARGET"] and
Request.Form["__EVENTARGUMENT"]
//Update UI
}
}

Please have a try and let me know if it works.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support
Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| From: "Peter" <cz****@nospam.nospam>
| Subject: Ajax AutoCompleteExtender
| Date: Sun, 9 Nov 2008 19:23:12 -0600
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <uM**************@TK2MSFTNGP03.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP03.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79536
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| ASP.NET 2.0
|
| I have an AutoCompleteExtender which works fine- I am using name, id
pair
in
| the WebService , but what I am trying to do is: once the user selects an
| item from the AutoCompleteExtender I want to automatically retreive data
| from the database and populate the fields on the screen.
|
| How do I trigger a server side event after the user selects an item from
the
| AutoCompleteExtender or retrieve data from database on client side
event?
|
|
|
| Thank You
|
| Peter
|
|
|
|
Thank you for your help!

The suggested solution works, thank you very much!

Is there a way to do the same thing but using Ajax so the user does not see
the page refresh? The solution works fine, but you can see the page refresh
after the user selects the Item from the AutoCompleteExtender, which kind of
defeats using Ajax in the first place.
Nov 10 '08 #3
Hi Peter,
Sorry it's my fault. I incorrectly used the "AutoCompleteExtender1" as the
__EVENTTARGET. It should be "UpdatePanel1". Here's the updated version:
Aspx.cs:
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
if (Request.Form["__EVENTTARGET"] != null &&
Request.Form["__EVENTTARGET"] == "UpdatePanel1" &&
Request.Form["__EVENTARGUMENT"] != null)
{
this.Label1.Text = "Posted at: " +
DateTime.Now.ToString() + ", Posted Data:" +
Request.Form["__EVENTARGUMENT"];
}
}
}
Aspx:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
function Test(sender,e)
{

__doPostBack("UpdatePanel1",sender._element.value) ;

}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>

<asp:ServiceReference Path="WebService1.asmx" />

</Services>
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:AutoCompleteExtender OnClientItemSelected="Test"
ID="AutoCompleteExtender1" runat="server"
TargetControlID="TextBox1" ServicePath="WebService1.asmx"
ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
</cc1:AutoCompleteExtender>
<asp:Label ID="Label1" runat="server" ></asp:Label>

</ContentTemplate>
</asp:UpdatePanel>

</div>
</form>
</body>
</html>

Sorry again for my mistake.
If you have further questions please feel free to ask.
Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Peter" <cz****@nospam.nospam>
| References: <uM**************@TK2MSFTNGP03.phx.gbl>
<fc**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: Re: Ajax AutoCompleteExtender
| Date: Mon, 10 Nov 2008 08:25:32 -0600
| Lines: 142
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <ep**************@TK2MSFTNGP02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79562
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:fc**************@TK2MSFTNGHUB02.phx.gbl...
| Hello Peter,
| >
| From your description you are using AutoCompleteExtender and want to
| trigger a client or server side (prefered) function when the selected
item
| is changed, right? If so you can try to set OnClientItemSelected to
| trigger
| a client side function, like below:
| >
| <asp:ScriptManager ID="ScriptManager1" runat="server">
| <Services>
| >
| <asp:ServiceReference Path="WebService1.asmx" />
| >
| </Services>
| >
| >
| </asp:ScriptManager>
| >
| <asp:UpdatePanel ID="UpdatePanel1" runat="server">
| <ContentTemplate>
| <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
| <cc1:AutoCompleteExtender OnClientItemSelected="Test"
| ID="AutoCompleteExtender1" runat="server"
| TargetControlID="TextBox1" ServicePath="WebService1.asmx"
| ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
| </cc1:AutoCompleteExtender>
| >
| <%-- Other UI, such as GridView--%>
| >
| </ContentTemplate>
| </asp:UpdatePanel>
| >
| Then in the JavaScript function you can inform the server.
| >
| <script type="text/javascript">
| function Test(sender,e)
| {
| >
| __doPostBack("AutoCompleteExtender1",sender._eleme nt.value);
| >
| }
| </script>
| >
| aspx.cs:
| >
| protected void Page_Load(object sender, EventArgs e)
| {
| if (IsPostBack)
| {
| //Check Request.Form["__EVENTTARGET"] and
| Request.Form["__EVENTARGUMENT"]
| //Update UI
| }
| }
| >
| Please have a try and let me know if it works.
| >
| Regards,
| Allen Chen
| Microsoft Online Support
| >
| Delighting our customers is our #1 priority. We welcome your comments
and
| suggestions about how we can improve the support we provide to you.
Please
| feel free to let my manager know what you think of the level of service
| provided. You can send feedback directly to my manager at:
| ms****@microsoft.com.
| >
| ==================================================
| Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/en-us/subs...#notifications.
| >
| Note: MSDN Managed Newsgroup support offering is for non-urgent issues
| where an initial response from the community or a Microsoft Support
| Engineer within 2 business day is acceptable. Please note that each
follow
| up response may take approximately 2 business days as the support
| professional working with you may need further investigation to reach
the
| most efficient resolution. The offering is not appropriate for
situations
| that require urgent, real-time or phone-based interactions. Issues of
this
| nature are best handled working with a dedicated Microsoft Support
| Engineer
| by contacting Microsoft Customer Support Services (CSS) at
| http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
| ==================================================
| This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| --------------------
| | From: "Peter" <cz****@nospam.nospam>
| | Subject: Ajax AutoCompleteExtender
| | Date: Sun, 9 Nov 2008 19:23:12 -0600
| | Lines: 18
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| | Message-ID: <uM**************@TK2MSFTNGP03.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP03.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:79536
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | ASP.NET 2.0
| |
| | I have an AutoCompleteExtender which works fine- I am using name, id
| pair
| in
| | the WebService , but what I am trying to do is: once the user selects
an
| | item from the AutoCompleteExtender I want to automatically retreive
data
| | from the database and populate the fields on the screen.
| |
| | How do I trigger a server side event after the user selects an item
from
| the
| | AutoCompleteExtender or retrieve data from database on client side
| event?
| |
| |
| |
| | Thank You
| |
| | Peter
| |
| |
| |
| |
| >
|
| Thank you for your help!
|
| The suggested solution works, thank you very much!
|
| Is there a way to do the same thing but using Ajax so the user does not
see
| the page refresh? The solution works fine, but you can see the page
refresh
| after the user selects the Item from the AutoCompleteExtender, which kind
of
| defeats using Ajax in the first place.
|
|
|

Nov 11 '08 #4

"Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
news:fs**************@TK2MSFTNGHUB02.phx.gbl...
Hi Peter,
Sorry it's my fault. I incorrectly used the "AutoCompleteExtender1" as the
__EVENTTARGET. It should be "UpdatePanel1". Here's the updated version:
Aspx.cs:
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
if (Request.Form["__EVENTTARGET"] != null &&
Request.Form["__EVENTTARGET"] == "UpdatePanel1" &&
Request.Form["__EVENTARGUMENT"] != null)
{
this.Label1.Text = "Posted at: " +
DateTime.Now.ToString() + ", Posted Data:" +
Request.Form["__EVENTARGUMENT"];
}
}
}
Aspx:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
function Test(sender,e)
{

__doPostBack("UpdatePanel1",sender._element.value) ;

}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>

<asp:ServiceReference Path="WebService1.asmx" />

</Services>
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:AutoCompleteExtender OnClientItemSelected="Test"
ID="AutoCompleteExtender1" runat="server"
TargetControlID="TextBox1" ServicePath="WebService1.asmx"
ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
</cc1:AutoCompleteExtender>
<asp:Label ID="Label1" runat="server" ></asp:Label>

</ContentTemplate>
</asp:UpdatePanel>

</div>
</form>
</body>
</html>

Sorry again for my mistake.
If you have further questions please feel free to ask.
Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Peter" <cz****@nospam.nospam>
| References: <uM**************@TK2MSFTNGP03.phx.gbl>
<fc**************@TK2MSFTNGHUB02.phx.gbl>
| Subject: Re: Ajax AutoCompleteExtender
| Date: Mon, 10 Nov 2008 08:25:32 -0600
| Lines: 142
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <ep**************@TK2MSFTNGP02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79562
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:fc**************@TK2MSFTNGHUB02.phx.gbl...
| Hello Peter,
| >
| From your description you are using AutoCompleteExtender and want to
| trigger a client or server side (prefered) function when the selected
item
| is changed, right? If so you can try to set OnClientItemSelected to
| trigger
| a client side function, like below:
| >
| <asp:ScriptManager ID="ScriptManager1" runat="server">
| <Services>
| >
| <asp:ServiceReference Path="WebService1.asmx" />
| >
| </Services>
| >
| >
| </asp:ScriptManager>
| >
| <asp:UpdatePanel ID="UpdatePanel1" runat="server">
| <ContentTemplate>
| <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
| <cc1:AutoCompleteExtender OnClientItemSelected="Test"
| ID="AutoCompleteExtender1" runat="server"
| TargetControlID="TextBox1" ServicePath="WebService1.asmx"
| ServiceMethod="GetCompletionList" MinimumPrefixLength="1">
| </cc1:AutoCompleteExtender>
| >
| <%-- Other UI, such as GridView--%>
| >
| </ContentTemplate>
| </asp:UpdatePanel>
| >
| Then in the JavaScript function you can inform the server.
| >
| <script type="text/javascript">
| function Test(sender,e)
| {
| >
| __doPostBack("AutoCompleteExtender1",sender._eleme nt.value);
| >
| }
| </script>
| >
| aspx.cs:
| >
| protected void Page_Load(object sender, EventArgs e)
| {
| if (IsPostBack)
| {
| //Check Request.Form["__EVENTTARGET"] and
| Request.Form["__EVENTARGUMENT"]
| //Update UI
| }
| }
| >
| Please have a try and let me know if it works.
| >
| Regards,
| Allen Chen
| Microsoft Online Support
| >
| Delighting our customers is our #1 priority. We welcome your comments
and
| suggestions about how we can improve the support we provide to you.
Please
| feel free to let my manager know what you think of the level of
service
| provided. You can send feedback directly to my manager at:
| ms****@microsoft.com.
| >
| ==================================================
| Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/en-us/subs...#notifications.
| >
| Note: MSDN Managed Newsgroup support offering is for non-urgent issues
| where an initial response from the community or a Microsoft Support
| Engineer within 2 business day is acceptable. Please note that each
follow
| up response may take approximately 2 business days as the support
| professional working with you may need further investigation to reach
the
| most efficient resolution. The offering is not appropriate for
situations
| that require urgent, real-time or phone-based interactions. Issues of
this
| nature are best handled working with a dedicated Microsoft Support
| Engineer
| by contacting Microsoft Customer Support Services (CSS) at
| http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
| ==================================================
| This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| --------------------
| | From: "Peter" <cz****@nospam.nospam>
| | Subject: Ajax AutoCompleteExtender
| | Date: Sun, 9 Nov 2008 19:23:12 -0600
| | Lines: 18
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| | Message-ID: <uM**************@TK2MSFTNGP03.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP03.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:79536
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | ASP.NET 2.0
| |
| | I have an AutoCompleteExtender which works fine- I am using name, id
| pair
| in
| | the WebService , but what I am trying to do is: once the user
selects
an
| | item from the AutoCompleteExtender I want to automatically retreive
data
| | from the database and populate the fields on the screen.
| |
| | How do I trigger a server side event after the user selects an item
from
| the
| | AutoCompleteExtender or retrieve data from database on client side
| event?
| |
| |
| |
| | Thank You
| |
| | Peter
| |
| |
| |
| |
| >
|
| Thank you for your help!
|
| The suggested solution works, thank you very much!
|
| Is there a way to do the same thing but using Ajax so the user does not
see
| the page refresh? The solution works fine, but you can see the page
refresh
| after the user selects the Item from the AutoCompleteExtender, which
kind
of
| defeats using Ajax in the first place.
|
|
|
Thank You very much
This exectly what I needed!!!

Nov 11 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ack95 | last post by:
i am at a loss. i have been using the AutoCompleteExtender up until RC1. Now it is completely unresponsive and doesn't even throw a javascript error. I have added these sections to the config...
11
by: =?Utf-8?B?VHJlbnQ=?= | last post by:
I have tied an AutoCompleteExtender to a textbox to indicate suggestions to the user. Everything works fine if I utilize a webservice to fetch the results. However, I want to put the web service...
4
by: Grant Merwitz | last post by:
Hi I am trying to implement the Microsoft Ajax.NET extensions to perform a lookup on a key press of a text box. What this will do is once a user enters a letter into the textbox, this will...
1
by: sheenaa | last post by:
I want to use AJAX features in my ASP.NET with C# website application 2005. For that i have already installed the following onto my pc. ASP.NET 2.0 AJAX Extensions 1.0 ASP.NET AJAX Futures...
0
by: =?Utf-8?B?UmFjaGVs?= | last post by:
I have the AJAX toolkit version 1.0.10301.0. I have downloaded and recompiled with the changeset 20574 from...
1
by: maz00 | last post by:
Hi guys, I'm running into an issue where my AutoCompleteExtender stops working as soon as I make changes to my global.asax file for URL rewriting. I just want to take a URL...
7
by: SV | last post by:
I am using ASP.Net / VB.Net v 2005. I want to add text recognition to one of the text box of suburb in my form. What I want to do is when user type any character in that text box, one dynamic list...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
4
by: stoogots2 | last post by:
I am having an issue getting my AutoCompleteExtender to appear below the associated textbox (currently like 6 inches to the right). I am not using an Update Panel, or a div, simply setting the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.