What file are you not locating? The .cs file? If you are using VS.NET, the
the .cs file (called the "Code Behind" file) is usually hidden from the
Solution Explorer view, but the file exists in the same directory as your
..aspx pages. The class in the code behind file is compiled into your
assembly so that when you deploy, you only need to copy your .aspx pages and
your assembly (.dll) and a few other supporting files, but the .cs files
don't need to be copied to the production machine.
"Brad" <ap**********@hotmail.com> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
I see that I can add btn1.attributes.add("onmouseover", "this.style...")
to the page_init of the .aspx.cs page. Where is this file found? I am not
locating it.
Thanks again for the information.
"Alvin Bruney [ASP.NET MVP]" <vapor at steaming post office> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl... for a webserver control it would be
button1.attributes.add("onmouseover","somejavascri ptfunctionhere()");
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Brad" <ap**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Thanks for the information.
So the button objects I am using should be html buttons and not ASP objects.
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
> You would need to do this via a client-side JavaScript since
mouseOver is an
> event triggered at the client level.
>
>
> "Brad" <ap**********@hotmail.com> wrote in message
> news:%2****************@TK2MSFTNGP11.phx.gbl...
> > How can I declare a routine to occur when the mouse is "hovered"
over a > > certain button? I usually use Windows forms and I know how to
there > > (btn1_mouseover), but I do not see this in ASP. As you can tell,
I am a > new
> > one to ASP .NET.
> >
> > Thanks for any information.
> >
> > Brad
> >
> >
>
>