WebControl, Server side events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am new to WebControls, I am trying to implement a control that wil raise a
server side event resulting from a client side action, The broblem is that
the event shoudl be triggered as a result of a mouseup indication of a
certain <DIV> and not by an <INPUT type=submit> element in combination with
the IPostBackEventHandler interface....
How can this be achived?
Is it possible to get a server side indication as a result of client side
mouse up event?

Any pointers help or samples would be appriciated...
 
Hi Nadav,

If you have server control which will call post back on your webform, you
can find javascript function 'function __doPostBack(eventTarget,
eventArgument)'. Call that function on your client side mouse up event, then
you can raise a server side event.
 
Back
Top