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

M

Morten

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
 
S

S. Justin Gengo

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
 
M

Morten

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top