RE: ICallbackEventHandler

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Salam,

Thank you for posting.

Regarding on the ASP.NET 2.0 script call back issue, based on my research,
it seems a document issue. As for the ICallBackEventHandler interface, it
contains two member functions we need to implement:

#ICallbackEventHandler Methods
http://msdn2.microsoft.com/en-us/library/dcc3kkye.aspx

The "RaiseCallbackEvent" function does not have return value, so we can not
return any data in this function. If we need to return data to client-side,
we need to use the "GetCallbackResult" function. e.g:

_cbResult is a page member variable
=====================================
#region ICallbackEventHandler Members

public string GetCallbackResult()
{
return _cbResult;

}

public void RaiseCallbackEvent(string eventArgument)
{
_cbResult = eventArgument + "__" + DateTime.Now.ToLongTimeString();


}

#endregion
==============================

Hope this helps. And sorry for the inconvenience the document problem
brings you.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

.



Relevant Pages

  • Re: DC v Heller: Amicus Brief of the Real Linguists, Part I
    ... Otherwise, a foreigner like Verdugo could, but Rehnquist rightly pointed out that as he was NOT a member of THE PEOPLE CLASS, he could NOT claim the right, even though he IS an individual, but NOT AN INDIVIDUAL MEMBER OF THE PEOPLE. ... But, as Rehnquist points out, the rights of the 4th Amen extend ONLY to THE PEOPLE! ... How would an 80-year-old black woman from Haiti having an "individual right" to "own and carry guns" further the security of a free state to have a well-regulated militia, when such a person would be FOUR WAYS prohibited from SERVING in the militia or VOTING for the legislature that organizes and controls it? ... OR, and this is where the BoR comes in, any rights they MAY have claimed were not PROTECTED or GUARANTEED by the Constitution! ...
    (talk.politics.guns)
  • Re: Senate Republican Leader Mitch McConnelL Nixes District Of Columbia Voting Rights In Sente
    ... House Member ... representation in the U.S. House. ... The bill would grant full voting rights to the District's ...
    (talk.politics.guns)
  • Re: Delegation of groups admin. - restricted to a subset of object
    ... goto the members tab and add something as a member ... # Jorge de Almeida Pinto # MVP Windows Server - Directory Services ... * This posting is provided "AS IS" with no warranties and confers no rights! ... OU's and if in my ou i have delegate only to computers to write memeberof ...
    (microsoft.public.windows.server.active_directory)
  • Re: DC v Heller: Amicus Brief of the Real Linguists, Part I
    ... They didn't forfeit them; ... Did KIDS forfeit their 4th Amen rights? ... did felons "forfeit" their right to Freedom of Religion? ... NO, he simply was NOT a member of THE PEOPLE CLASS that had the right, ...
    (talk.politics.guns)
  • Re: A job for life and source of income
    ... It has to do with human rights. ... each member of the body politic ... There are only duties and ... SilverMask ...
    (soc.religion.bahai)