473,385 Members | 1,655 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,385 software developers and data experts.

How can I do text1.text=dropdownlist1.DataTextField on "dropdownlist1.MouseOver"?

Hi.

My problem is that nearly all items in my dropdownlist is quite long and I
would like to display the text in a textbox with a mouseover.

When I move the mouse down the list I see the bg color change.

If anyone please could show me a vb sample I would be grateful.

And if You please also could reply to mk @ intelle . no I would be most
happy

Thanks.

Morten

Nov 18 '05 #1
2 1510
Morten,

You'll have to do that with javascript. Text1.Text takes place on the server
not on the client. So it can not be set unless you do a post back whenever
an item is selected in the list. You could set the list to autopostback, but
I wouldn't do that if I were you. That would be very annoying for anyone
trying to use your site.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Morten" <mk intelle (no)> wrote in message
news:3f********@news.broadpark.no...
Hi.

My problem is that nearly all items in my dropdownlist is quite long and I
would like to display the text in a textbox with a mouseover.

When I move the mouse down the list I see the bg color change.

If anyone please could show me a vb sample I would be grateful.

And if You please also could reply to mk @ intelle . no I would be most
happy

Thanks.

Morten

Nov 18 '05 #2
Thanks and You are right.

I should have seen that.
Anyone got a javascript I could try or url to a good site?
I do not know javascript so nay help would be appreciated.

Thanks.

Morten
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:OG**************@TK2MSFTNGP12.phx.gbl...
Morten,

You'll have to do that with javascript. Text1.Text takes place on the server not on the client. So it can not be set unless you do a post back whenever
an item is selected in the list. You could set the list to autopostback, but I wouldn't do that if I were you. That would be very annoying for anyone
trying to use your site.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Morten" <mk intelle (no)> wrote in message
news:3f********@news.broadpark.no...
Hi.

My problem is that nearly all items in my dropdownlist is quite long and I would like to display the text in a textbox with a mouseover.

When I move the mouse down the list I see the bg color change.

If anyone please could show me a vb sample I would be grateful.

And if You please also could reply to mk @ intelle . no I would be most
happy

Thanks.

Morten


Nov 18 '05 #3

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

Similar topics

8
by: al | last post by:
Hi, I've been trying to create a image mouseOver effect using CSS - is this possible? Or will I have to use DIV tags or something along those lines? I've tried a number of things - the code...
12
by: Lee David | last post by:
How do you track down this to where the error actually is? TIA, Lee
4
by: GD | last post by:
I have a collection of asp:LinkButtons on a web form. Based on some reporting criteria, I will be "highlighting" some of these LinkButtons. I'd like the user to be able to mouseover the...
16
by: mj.redfox.mj | last post by:
Can anyone help? I have a textbox which I'm programatically adding by using the following code: txtTest = New TextBox txtTest.ID = "txtLeft" + cntCount.ToString...
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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
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...

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.