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

  • Thread starter Thread starter Morten
  • Start date Start date
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
 
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
 
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
 
Back
Top