|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET 2.0 ICallbackEventHandlerhave 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 the behavior was changed between the beta and the rtm. read the rtm
documentation. -- bruce (sqlwork.com) Show quoteHide quote "Lorenzo Soncini" <lorenzo.sonc***@technoservice.com> wrote in message news:ub2BXX8CGHA.312@TK2MSFTNGP09.phx.gbl... >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 > I reinstall my MSDN :-)
Online the documentation is ok..and I have solved the problem Thanks Lorenzo Show quoteHide quote "Lorenzo Soncini" <lorenzo.sonc***@technoservice.com> ha scritto nel messaggio news:ub2BXX8CGHA.312@TK2MSFTNGP09.phx.gbl... >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 >
Other interesting topics
Application_Start Question
Resources and class libraries ViewState: why? Nested asp.net application Help: Why <mobile:label> doesn't render HTML tag? Allow multiple image swap onmouseover What caused the postback? Access to a HiddenFiled in a Content control from javaScript masking url in datagrid hyperlink column in status bar Erro no start pag |
|||||||||||||||||||||||