473,507 Members | 11,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 2.0 ICallbackEventHandler

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
Dec 28 '05 #1
2 1193
the behavior was changed between the beta and the rtm. read the rtm
documentation.

-- bruce (sqlwork.com)

"Lorenzo Soncini" <lo*************@technoservice.com> wrote in message
news:ub*************@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

Dec 28 '05 #2
I reinstall my MSDN :-)
Online the documentation is ok..and I have solved the problem

Thanks
Lorenzo
"Lorenzo Soncini" <lo*************@technoservice.com> ha scritto nel
messaggio news:ub*************@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

Dec 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1389
by: Mike | last post by:
When trying to compile in Visual Web Developer 2005 express beta (framework version )the source code using System; using System.Web.UI; using System.Web.UI.WebControls; using...
1
567
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
2
3116
by: Maya Nasri | last post by:
Hello everyone, I have upgraded to ASP.NET 2 and since then i had the code below stopped working after upgrading and modiftying the code: using System; using System.Data; using...
1
1141
by: JimGreen | last post by:
I recently installed Release Candidate of VS2005 and I am not sure what the hell is the problem but ICallbackEventHandler definition on my machine looks like this: public interface...
0
1052
by: Edwin Knoppert | last post by:
Seems ICallbackEventHandler is meant for the 2.0 beta i guess ??? VWD forces me to public void RaiseCallbackEvent(string eventArgument) And using a public string GetCallbackResult() to return the...
3
3241
by: Harvey Triana | last post by:
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...
0
955
by: Slim | last post by:
I made a page today that uses ICallbackEventHandler. I got to work, but with problems. 1. it is slow, it does not seem any faster than reloading the page. 2. the first time I fire the event it...
1
2001
by: Ben Schumacher | last post by:
I have a page that implements ICallbackEventHandler. I'm trying to accomplish auto saving a page everytime the user navigates away from the page. To initialize the callback, I fire the onunload...
1
1661
by: =?Utf-8?B?RGF2aWQgUmVoYWdlbg==?= | last post by:
I currently have a custom control that implements the ICallbackEventHandler interface. Currently it works when the control is added to a standard web form. It does not work however when added to...
1
1605
by: Ian | last post by:
Question: Is there a way to multi-thread ICallbackEventHandler using delegates? Problem: I'm executing client-side calls to my page, which implements ICallbackEventHandler. I need to implement...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.