how to bind data in autocompleted textbox

Posted by Gow.Net under ASP.NET AJAX on 7/17/2012 | Points: 10 | Views : 3896 | Status : [Member] | Replies : 11
hi in my application i am using three auto completed TextBox
<asp:TextBox ID="txt_city"  runat="server"></asp:TextBox>
<asp:AutoCompleteExtender ID="txt_city_AutoCompleteExtender" runat="server"
EnableCaching="true"
CompletionSetCount="12"
ServicePath="Autocomplete.asmx"
ServiceMethod="Getdata"
CompletionInterval="10"
MinimumPrefixLength="1"
Enabled="True"
TargetControlID="txt_city">
</asp:AutoCompleteExtender>


<asp:TextBox ID="txt_Search" runat="server" Height="28px" Width="296px"></asp:TextBox>
<asp:AutoCompleteExtender ID="txt_Search_AutoCompleteExtender" runat="server"
EnableCaching="true"
CompletionSetCount="12"
ServicePath="Autocomplete.asmx"
ServiceMethod="Getusersearch"
CompletionInterval="10"
MinimumPrefixLength="1"
Enabled="True"
TargetControlID="txt_Search">
</asp:AutoCompleteExtender>

<asp:TextBox ID="txt_Palce" runat="server"></asp:TextBox>
<asp:AutoCompleteExtender ID="txt_Palce_AutoCompleteExtender" runat="server"
EnableCaching="true"
CompletionSetCount="12"
ServicePath="Autocomplete.asmx"
ServiceMethod="getarearecord"
CompletionInterval="10"
MinimumPrefixLength="1"
Enabled="True"
TargetControlID="txt_Palce">
</asp:AutoCompleteExtender>


here txt_City,txt_Place,txt_Search three auto completed textbox my question "when i select city in "txt_city" based on that city bind data in "txt_Search","txt_Place " " i attach my coding here please any one help me

gowthaman8870226416


Responses

Posted by: Ranjeet_8 on: 7/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Refer this url

Sample code :
http://www.codeproject.com/Articles/201099/AutoComplete-With-DataBase-and-AjaxControlToolkit

.

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

Posted by: Gow.Net on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
"when i select city in "txt_city" based on that city bind data in "txt_Search","txt_Place " " i attach my coding here please any one help me

gowthaman8870226416

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

Posted by: Rajkatie on: 7/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly refer following link
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspx

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

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

Posted by: Gow.Net on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
"when i select city in "txt_city" based on that city bind data in "txt_Search","txt_Place " " i attach my coding here please any one help me


gowthaman8870226416

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

Posted by: Premalatha on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
Where is Your Attachment ?

Premalatha
Software Engineer

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

Posted by: Gow.Net on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
hi Premalatha mam i attach my source code in my first question please download and help me that task



gowthaman8870226416

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

Posted by: Premalatha on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
I think it may helps you,
http://www.aspdotnet-suresh.com/2012/03/jquery-ui-autocomplete-textbox-with.html

Premalatha
Software Engineer

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

Posted by: Premalatha on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
http://www.codeproject.com/Tips/338537/autocomplete-in-asp-net-mvc3
http://www.aspdotnet-suresh.com/2012/03/jquery-ui-autocomplete-textbox-with.html

http://www.aspdotnet-suresh.com/2011/03/how-to-implement-auto-complete-textbox.html

Premalatha
Software Engineer

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

Posted by: Gow.Net on: 7/17/2012 [Member] Starter | Points: 25

Up
0
Down
thanks


gowthaman8870226416

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

Posted by: Patel28rajendra on: 7/18/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

refer this link

http://support.microsoft.com/kb/307860

http://forums.asp.net/t/1042463.aspx/1

R D Patel

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

Posted by: Snaveen on: 2/14/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,

Refer below link here i explain how to work with autocomplete extender with best example this will help you to resovle the issue.

http://www.dotnetspider.com/resources/45209-Ajax-Auto-Complete-Without-WebServices-aspnet.aspx

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

Login to post response