>>>>>>>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')");
>
>How do I get the text to appear in a textbox on my page?
Inject the method:
<form id="form1" runat="server">
<script language="JavaScript">
<!--
function ShowText(theMessage) {
alert(theMessage);
}
</script>
</form>
Of course you won't want to use the popup - but you should be able to adapt from this.....