473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how would you implement Intellisense experience in ASP.NET pages ???

hi all !!!!

I have two textboxes that should work like a dictionary or Intellisense do:

user writes in the first textbox and while he writes
text changes in the second textbox.

how would you implement such behavior ?

any help will be greatly appreciated.
thanks in advance,
ant.

PS: I am posting to both the aspnet and webcontrols newsgroups because it is
an interesting problem relevant to both groups.
Nov 17 '05 #1
3 1586
THY
that should be done by javascript or any client side scripting ...

or else you gotta set the autopostback = true ...
but this is not a good idea I think ...
"Antonio Lopez Arredondo" <ad**@someplace.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
hi all !!!!

I have two textboxes that should work like a dictionary or Intellisense do:
user writes in the first textbox and while he writes
text changes in the second textbox.

how would you implement such behavior ?

any help will be greatly appreciated.
thanks in advance,
ant.

PS: I am posting to both the aspnet and webcontrols newsgroups because it is an interesting problem relevant to both groups.

Nov 17 '05 #2
What are you trying to change the second textbox to? Can you give an
example?

Jim

"THY" <th*@streamyx.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
that should be done by javascript or any client side scripting ...

or else you gotta set the autopostback = true ...
but this is not a good idea I think ...
"Antonio Lopez Arredondo" <ad**@someplace.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
hi all !!!!

I have two textboxes that should work like a dictionary or Intellisense do:

user writes in the first textbox and while he writes
text changes in the second textbox.

how would you implement such behavior ?

any help will be greatly appreciated.
thanks in advance,
ant.

PS: I am posting to both the aspnet and webcontrols newsgroups because

it is
an interesting problem relevant to both groups.


Nov 17 '05 #3
a
What THY was getting at is right, to me. A postback after each keystroke is
too much. If you send all the data to the client, in a hidden div, you can
then use JavaScript to do the filtering on the client.

kevin

"Antonio Lopez Arredondo" <ad**@someplace.com> wrote in message
news:Ov**************@TK2MSFTNGP10.phx.gbl...

The control looks like this:

TEXTBOX:
|____user entry____|

LISTBOX:
|-- match 1--|
|-- match 2--|
|-- match 3--|

and the listbox should change as the user input changes; exactly like
Intellisense works.

I am using AUTOPOSTBACK=TRUE for the Textbox and at the
TextBox1_TextChanged() function I refresh the Listbox.

The problem is that TextBox1_TextChanged() is called ONLY after the RETURN
or TAB key is pressed, not after every key press that is what I need.

Attached goes a simple program that shows this behavior. unzip it at
c:\inetpub\wwwroot and will create a folder named intellisensedemo with all the stuff.

thanks again,
ant.


"James Radke" <jr*****@wi.rr.com> wrote in message
news:uP*************@TK2MSFTNGP11.phx.gbl...
What are you trying to change the second textbox to? Can you give an
example?

Jim

"THY" <th*@streamyx.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
that should be done by javascript or any client side scripting ...

or else you gotta set the autopostback = true ...
but this is not a good idea I think ...
"Antonio Lopez Arredondo" <ad**@someplace.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
> hi all !!!!
>
> I have two textboxes that should work like a dictionary or Intellisense do:
>
> user writes in the first textbox and while he writes
> text changes in the second textbox.
>
> how would you implement such behavior ?
>
> any help will be greatly appreciated.
> thanks in advance,
> ant.
>
> PS: I am posting to both the aspnet and webcontrols newsgroups
because it
is
> an interesting problem relevant to both groups.
>
>



Nov 17 '05 #4

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

Similar topics

0
by: Pete | last post by:
Hi, Can anyone tell me why intellisense auto completion etc doesn’t work when writing VB script on asp.net pages in VS.net. If I load a legacy asp page intellisense works fully in the VB...
0
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier...
1
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
3
by: AJ | last post by:
I am using Microsoft Visual C++ .NET in Visual Studio 2003. Why there is no intellisense in MC++? Any workarounds?
2
by: louise raisbeck | last post by:
Hi, I am using c#. i have my server code within script tags on my aspx page i am not using code behind. Do you not get intellisense when working like this? it would speed up my work considerably...
2
by: Ram | last post by:
I'm runnning visual studio 2005 standard edition and i don't get intellisense for configuration file asp.net development server adds this...
7
by: moondaddy | last post by:
If I'm in a class that inherits an interface, is there a shortcut key that will write the implementation of the interface into the class? I remember seeing something like this in vb.net. ...
1
by: tool | last post by:
Hi all, I Followed these steps : 1. Added a .master file with 3 contentplaceholder controls. 2. Added an aspx file with the @Page directive parameter 'MasterPageFile' set to my .master file....
1
by: pradev | last post by:
Hello Friends, I have been working on ASP.NET for the last 2 and half years. The bad part of my experience is I have been working alone on all of the projects and there was no peer around who...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.