Urgent -- Using two values for Auto Complete using Ajax

Posted by Neer under DotNetFunda.Com on 12/31/2012 | Points: 10 | Views : 1714 | Status : [Member] | Replies : 5
hi all,

I am using ajax auto complete extender ,
i need to drop down all cities based on selected State,
my web method is returning result properly but its not showing list in textbox,

while using single textbox its displaying the value, can any one please explain how to resolve this?

-Neer


Responses

Posted by: Baimey on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
Could you please explain a bit more on the senario?

'while using single textbox its displaying the value' ? ? Do u need two text boxes.
Please be clear so u can be helped soon
Thanks
Baimey


Please Mark as Answer If this Helps

Neer, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neer on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
i have one dropdown and one text box,

in dropdown i have list of states,
on selection of states cities of that state should list in auto complete list,

my web method is returning the proper result but textbox is not showing that reults..

-Neer

Neer, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
u can also display the corresponding city in 2nd dropdownlist no need to use ajax auto complete

Neer, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Baimey on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
<asp:AutoCompleteExtender runat="server" ID="AutoCompleteExtender3" TargetControlID="txtsear" ServicePath="~/Search.asmx" ServiceMethod="GetSupplier"

MinimumPrefixLength="1" CompletionSetCount="10"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
</asp:AutoCompleteExtender>

Is the extender written in the above format??

Please Mark as Answer If this Helps

Neer, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Baimey on: 12/31/2012 [Member] Starter | Points: 25

Up
0
Down
Please check this link
http://www.smartcodar.com/content.php?123-ASP-Net-Ajax-AutoComplete-Extender-using-Web-Services

and let me know if u have done in the same format.
Else please provide your code so we can find out the cause.

Please Mark as Answer If this Helps

Neer, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response