N
Ned White
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>
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>