Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to send parameters from AutoCompleteExtender to WebService ?

Reply
Thread Tools

How to send parameters from AutoCompleteExtender to WebService ?

 
 
Ned White
Guest
Posts: n/a
 
      04-07-2008
Hi All,

There is a RadioButtonList over the textbox on my aspx page and users can
choice any of ListItems for search criteria. (Please check the following
image.)
http://img211.imageshack.us/img211/1600/sampleha9.png

Is it possible to send RadioButtonList1.SelectedValue to my webservice as a
parameter, over the AutoCompleteExtender.

The aspx page source is:

--------------------------------
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
<br />
<asp:RadioButtonList ID="RadioButtonList1" runat="server"
RepeatDirection="Horizontal">
<asp:ListItem Value="1">By Name</asp:ListItem>
<asp:ListItem Value="2">By Brand</asp:ListItem>
<asp:ListItem Value="3">By Country</asp:ListItem>
<asp:ListItem Value="4">By Type</asp:ListItem>
<asp:ListItem Value="5">By Model</asp:ListItem>
</asp:RadioButtonList>
<asp:Literal ID="Literal1" runat="server" Text="Search"></asp:Literal>
<asp:TextBox ID="TextBox1" runat="server" Width="440px" BackColor="Beige"
Font-Size="14px" Height="23px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Find" />
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1"
ServicePath="search.asmx" MinimumPrefixLength="3"
ServiceMethod="GetNames" TargetControlID="TextBox1"
CompletionInterval="10" CompletionSetCount="5" UseContextKey="true"
EnableCaching="true" runat="server">
</cc1:AutoCompleteExtender>
------------------------------------

Thanks in advance.

Ned






 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
ASP.NET AJAX AutoCompleteExtender ack95 ASP .Net 0 01-17-2007 03:42 PM
AutoCompleteExtender postback issue Jay ASP .Net 0 07-18-2006 10:05 AM
Atlas AutoCompleteExtender not working... Michael Appelmans ASP .Net 0 06-27-2006 02:22 PM
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl jean-françois labbe Perl Misc 0 05-13-2006 08:27 PM



Advertisments