Message
General information
Fórum:
ASP.NET
Category:
Miscellaneous
ID da thread:
01451264
ID da mensagem:
01451282
Views:
25
>>>>>I placed a hyperkink on my page. I don't see a MousOver event. How do I handle this?
>>>>
>>>>What do you want to happen on MouseOver? Bear in mind that you probably won't want to handle this on the server anyway.....
>>>
>>>The hyperlink will be a report name. I want to populate a textbox on the page with info about the report.
>>
>>You'll need to do that in javascript. There's an example here that you could maybe adapt:http://www.daniweb.com/forums/thread103510.html#
>
>I forgot to mention that I'm adding the links at runtime from a dataset in page_load

Still use the same approach. You could maybe include the text as a parameter:
HyperLink h = new HyperLink();
h.Attributes.Add("onmouseover", "ShowText('This is the text')");
Previous
Next
Responder
Mapa
View