H
Harvey Triana
Hello
I try to implement ICallbackEventHandler follow sample in
http://msdn2.microsoft.com/en-us/library/ms178208.aspx
I add code line:
Implements System.Web.UI.ICallbackEventHandler
The IDE write this signatures:
Public Function GetCallbackResult() As String Implements
System.Web.UI.ICallbackEventHandler.GetCallbackResult
End Function
Public Sub RaiseCallbackEvent(ByVal eventArgument As String) _
Implements System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent
End Sub
The sample use RaiseCallbackEvent as a Function, not as Sub. If I change
signature in my code, i get the error:
Error 3 Class 'ClientCallback' must implement 'Sub
RaiseCallbackEvent(eventArgument As String)' for interface
'System.Web.UI.ICallbackEventHandler'. ...
-Is it a bug?
-What can i do?
VS2005 Standar Edition, ASP NET 2.0
I try to implement ICallbackEventHandler follow sample in
http://msdn2.microsoft.com/en-us/library/ms178208.aspx
I add code line:
Implements System.Web.UI.ICallbackEventHandler
The IDE write this signatures:
Public Function GetCallbackResult() As String Implements
System.Web.UI.ICallbackEventHandler.GetCallbackResult
End Function
Public Sub RaiseCallbackEvent(ByVal eventArgument As String) _
Implements System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent
End Sub
The sample use RaiseCallbackEvent as a Function, not as Sub. If I change
signature in my code, i get the error:
Error 3 Class 'ClientCallback' must implement 'Sub
RaiseCallbackEvent(eventArgument As String)' for interface
'System.Web.UI.ICallbackEventHandler'. ...
-Is it a bug?
-What can i do?
VS2005 Standar Edition, ASP NET 2.0