menu on a *.aspx page..

  • Thread starter Thread starter sam alavi
  • Start date Start date
S

sam alavi

Hi agian..

in vb we had a action of >>buttum.moseover<< but in using vb.net for making
a webform (*.aspx) it seems it is imposible to handle the mouse over
actions...

IS THERE ANY WAY PLEASE HELP ME!!?

thank again..
(e-mail address removed)
Arafer group
 
Hi Sam,
I think that is not strange, the asp.button works on the server side while
you need normaly the mouse.over........ events on the client side.
I don't know if it is official, but I did change on an aspx html page the
buttons and putted the JScript events in.
It shows an error in the VB IDE, but it did work for me.
<asp:button id=btn onmouseover='menuMouseOn(this,"menuOn")'
onmouseout='menuMouseOff(this,"menuOff")' runat="server" Text="Per
Referentie" CssClass="menuOff"></asp:button>

Maybe this will work for you too.
But I think this goes a little bit off topic.
I do not know if there is a newsgroup for this.
Problem is that this is a combination from clientside VB or J script and
serverside VB.Net

Cor
 
Thanks Zain, the result (in the used html) is the same as in my example, but
I find your code nicer and now it is real VB.net and I know which newsgroup
is for it
 
Back
Top