473,545 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Autocomplete in textbox

Hi All

I need some help from u guys. iam working on aspx page.in this page i
have lot fields. text boxes and dropdown lists ..
First filed should be a autocomplete filed. this text has onblur event
also based on this text box when onblur event is fired that time
other fields will populate.

This time this textbox should be a auto-complete . this is not happend
in my page. this page has lot of onblur event's also.
I have done sample page. but this textbox is showing previous data and
what i have typed in this text box field it this showing.

Why it is not showing my acutal page any diffrece in that please help me
..

Below Code is working properly.
//############### ############### ##3

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AutoComp lete</title>
<meta name="GENERATOR " Content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form name="Form1" method="post" action="AutoCom plete.aspx"
id="Form1">
<input type="hidden" name="__VIEWSTA TE"
value="dDwyNjY4 NzY3NzE7dDw7bDx pPDE+Oz47bDx0PD tsPGk8Nz47PjtsP HQ8cDw7cDxsP
G9uYmx1cjs+O2w8 UG9wdWxhdGVDb25 0YWN0UGVyc29uKC k7Pj4+Ozs+Oz4+O z4+Oz6h1TM+q
jOrczNPXDw4tTIg ya2WCg==" />

<input name="TextBox2" type="text" value="adfdaf" id="TextBox2"
style="Z-INDEX: 103; LEFT: 296px; POSITION: absolute; TOP: 120px" />
<input name="TextBox3" type="text" value="adfadf" id="TextBox3"
style="Z-INDEX: 104; LEFT: 296px; POSITION: absolute; TOP: 160px" />
<input type="text">
<input type="submit" name="Button1" value="Button" id="Button1"
style="Z-INDEX: 100; LEFT: 336px; POSITION: absolute; TOP: 192px" />
<input name="TextBox1" type="text" value="mayur" id="TextBox1"
class="formText Field" onblur="Populat eContactPerson( )" style="Z-INDEX:
101; LEFT: 296px; POSITION: absolute; TOP: 88px" />
</form>
</body>
</HTML>
///############### ############### ########

Karunakara Rao. P
Sr Software Engg.
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Mar 29 '06 #1
0 1780

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

Similar topics

0
1198
by: Scott | last post by:
I have a webform that I would like to use the autocomplete feature for all my textboxes. My textboxes are the <ASP:Textbox /> control. The only way I seem to be able to get autocomplete to work on the text boxes is to have an <INPUT type="submit"> control on my web page and then, after filling in a textbox to have the user hit ENTER (not...
8
3338
by: moondaddy | last post by:
I have a form for entering a user's address and all fields have a required validating control associated with them and the error msg for each field displays right next to it. The normal behavior is that the error msg doesn't show unit the use hits the submit button or the user enters data and moves the focus to another control so the field...
1
5186
by: rbg.net | last post by:
I know that there is a autocomplete property for the HTML "INPUT type=text" control which if set to OFF, disables autocomplete of the input textbox (doesn't remember previously entered values) However there is no such corresponding property for the TEXTBOX ASP.NET Webcontrol in ASP.NET 1.1. I know that there is a AutoComplete Property in...
8
5735
by: nil | last post by:
Hello all, It's urgent... i want to add autocomplete textbox facility in my application like google. as you type it suggests option to the user..i want the same kind of facility...i know i can do only with ajax(xml and javascript) but i want to fetch possible values from database and want to show as the user types in text box.
1
2151
by: =?Utf-8?B?Ym9iYnk=?= | last post by:
I’m trying to figure out how I can achieve the followings: While typing in a textbox, making a webservice call gets possible values from DB in Autocomplete textbox. I need to validate that the user selection is one of the value list in AutoComplete textbox. If not, I need to display a warning message. Does anyone know how I can do...
7
3648
by: Spam Catcher | last post by:
Is it possible to change the autocomplete behaviour to search for the word instead of just checking for the prefix? For example, if I have the following items: Big Mac Quarter Pounder Cheeseburger and someone types: Pounder, it should display "Quarter Pounder"?
0
1493
by: luckilian | last post by:
Hello there i have a big big problem in vb.net i have this scenario: 1 textbox 1 database with 5000 codes 1 AutoCompleteStringCollection wich retains those 5000 codes extracted from database textbox.AutoCompleteMode = AutoCompleteMode.SuggestAppend textbox.AutoCompleteSource = AutoCompleteSource.CustomSource
1
3531
by: =?Utf-8?B?UmV5?= | last post by:
I have a textbox and linked that with the autocomplete extender I have created the webservice and the WebMethod and returns a ToArray to the textbox. Everything works when I type normal string characters but there is a glitch when I type an hyphen character the autocomplete list starts over or breaks in other words for eg if I want to search...
0
2099
by: =?Utf-8?B?cG1haw==?= | last post by:
I try to implement a AutoComplete function to the datagridviewtextboxcolumn to a Datagridview control with several others datagridviewtextboxcolumns. This function is meant to apply to the column, CustomerID, in the datagridview control. However the AutoComplete function occurs on EVERY datagridviewtextbox column with the same datatype -...
0
7411
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7439
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3468
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.