Implementing ICallbackEventHandler

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
 
H

Harvey Triana

Thanks Jacob

-I have always thought that ASP.NET is not the great wonder. Perhaps in a
nearby future...

<HT/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top