ASP.NET 2.0 ICallbackEventHandler

Discussion in 'ASP .Net' started by Lorenzo Soncini, Dec 28, 2005.

  1. I have a problem. If I look MSDN the interface who is in the message object
    have two virtual method
    GetCallbackResult
    RaiseCallbackEvent

    The tocumentation say me:
    void RaiseCallbackEvent (
    string eventArgument
    )
    but when I see the MSDN sample the method RaiseCallbackEvent was implemented
    :

    public String RaiseCallbackEvent(String eventArgument As String)
    {
    return eventArgument + " new value";
    }

    But when I compile the class with my RaiseCallbackEvent i get ana error
    because the method is not returning VOID
    Any idea? Sorry for my bad english
    Lorenzo Soncini
     
    Lorenzo Soncini, Dec 28, 2005
    #1
    1. Advertising

  2. Lorenzo Soncini

    Bruce Barker Guest

    the behavior was changed between the beta and the rtm. read the rtm
    documentation.

    -- bruce (sqlwork.com)



    "Lorenzo Soncini" <> wrote in message
    news:...
    >I have a problem. If I look MSDN the interface who is in the message object
    >have two virtual method
    > GetCallbackResult
    > RaiseCallbackEvent
    >
    > The tocumentation say me:
    > void RaiseCallbackEvent (
    > string eventArgument
    > )
    > but when I see the MSDN sample the method RaiseCallbackEvent was
    > implemented :
    >
    > public String RaiseCallbackEvent(String eventArgument As String)
    > {
    > return eventArgument + " new value";
    > }
    >
    > But when I compile the class with my RaiseCallbackEvent i get ana error
    > because the method is not returning VOID
    > Any idea? Sorry for my bad english
    > Lorenzo Soncini
    >
     
    Bruce Barker, Dec 28, 2005
    #2
    1. Advertising

  3. I reinstall my MSDN :)
    Online the documentation is ok..and I have solved the problem

    Thanks
    Lorenzo
    "Lorenzo Soncini" <> ha scritto nel
    messaggio news:...
    >I have a problem. If I look MSDN the interface who is in the message object
    >have two virtual method
    > GetCallbackResult
    > RaiseCallbackEvent
    >
    > The tocumentation say me:
    > void RaiseCallbackEvent (
    > string eventArgument
    > )
    > but when I see the MSDN sample the method RaiseCallbackEvent was
    > implemented :
    >
    > public String RaiseCallbackEvent(String eventArgument As String)
    > {
    > return eventArgument + " new value";
    > }
    >
    > But when I compile the class with my RaiseCallbackEvent i get ana error
    > because the method is not returning VOID
    > Any idea? Sorry for my bad english
    > Lorenzo Soncini
    >
     
    Lorenzo Soncini, Dec 28, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. begemot

    ICallbackEventHandler and Mozilla

    begemot, Jun 21, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,240
    begemot
    Jun 22, 2005
  2. Maya Nasri

    ASP.NET 2 ICallbackEventHandler

    Maya Nasri, Nov 1, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    3,015
  3. ThatsIT.net.au

    ICallbackEventHandler problem in .net 4

    ThatsIT.net.au, Dec 26, 2009, in forum: ASP .Net
    Replies:
    0
    Views:
    441
    ThatsIT.net.au
    Dec 26, 2009
  4. Maya Nasri

    ASP.NET 2 ICallbackEventHandler

    Maya Nasri, Nov 1, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    142
  5. Maya Nasri

    ASP.NET 2 ICallbackEventHandler

    Maya Nasri, Nov 1, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    154
Loading...

Share This Page