Codebehind stuff..

  • Thread starter Thread starter +The_Taco+
  • Start date Start date
Are you seriously asking if client side script can call a method that has
been compiled on the server? LOL !! You can only use what's on the page --
what's sent to the client man!

-M
 
Ok well, what I need to do is to generate a click event from a Label object.
But can't find one on the server side. Any hint?
 
you need to run the object as a server control with the runat="server"
tag... to get a codebehind method to fire with an event on an object on the
client side..
 
Don't think your going to find a Click event for a label. Use a button and
change style so it appears as if it is a label. You can set and read it's
text property just as if it were a label.
 
How about using a Panel instead of a label? A Panel renders a div tag in the
page, which has a click event.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Sorry I'm not thinking as a VS.NET developer. I'm used to coding javascript
by hand! LOL!

-M

 
Back
Top