Event on server control

Results 1 to 2 of 2

Thread: Event on server control

  1. #1
    Join Date
    Dec 1969

    Default Event on server control

    I don&#039;t know exactly how to put it, so here&#039;s an example of what I&#039;m trying to do:<BR><BR>You can set delegates in declarative syntax on a lot of server controls, like:<BR><BR>&#060;asp:button runat="server" OnClick="somefunction" /&#062;<BR><BR>How can I do the same thing in my own server control? For example:<BR><BR>&#060;ZO:mycontrol runat="server" OnEndOfWorld="somefunction" /&#062;<BR><BR>Thanks,<BR>John Wessel

  2. #2

    Default RE: Event on server control

    Check the second example:<BR>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondefiningcustomevent.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts