S
shapper
Hello,
I created a custom control where I need to have an event named
Submitted.
This event should have 3 arguments: Name, Type, Time
And I would catch it has follows:
Public Sub MyControl_Submited(ByVal sender As Object, ByVal e As
MyControlEventArgs) Handles MyControl.Submited
Response.Write(e.Name)
Response.Write(e.Type)
Response.Write(e.Time)
End Sub
So I would like to do this as it is usually done in Asp.Net, for
example, in a button.
How can I create such an event (MyControlEventArgs) and fire it?
Thanks,
Miguel
I created a custom control where I need to have an event named
Submitted.
This event should have 3 arguments: Name, Type, Time
And I would catch it has follows:
Public Sub MyControl_Submited(ByVal sender As Object, ByVal e As
MyControlEventArgs) Handles MyControl.Submited
Response.Write(e.Name)
Response.Write(e.Type)
Response.Write(e.Time)
End Sub
So I would like to do this as it is usually done in Asp.Net, for
example, in a button.
How can I create such an event (MyControlEventArgs) and fire it?
Thanks,
Miguel