<script language="javascript">
function DeleteUserOnline()
{
Index.DeleteUserOnline_CodeBehind();
}
Don't forget the "()", it is JavaScript and not VB. ;)
On 6/21/06, duynnh <[EMAIL PROTECTED]> wrote:
>
> Hi All!
> I'm using Ajax.NET Professional(1.1) but i have problem:
>
> Index.aspx page code as follow:
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?'''''''''''''
>
> <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0"
> MS_POSITIONING="GridLayout" onUnload="DeleteUserOnline()">
>
>
> Javascript code as follow:
>
>
> <script language="javascript">
> function DeleteUserOnline()
> {
> Index.DeleteUserOnline_CodeBehind;
> }
>
>
> </script>
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?'''''''''''''
>
>
>
> Index.aspx.vb code as follow:
>
>
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?'''''''''''''
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles MyBase.Load
>
>
> Ajax.Utility.RegisterTypeForAjax(GetType(Index))
>
>
> End Sub
>
>
> <Ajax.AjaxMethod()> _
> Public Function DeleteUserOnline_CodeBehind() As Boolean
>
>
> MyClassDuynnh.UserOnline_Delete(MyClassDuynnh.IdUserOnline)
> Return True
>
>
> End Function
> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''?'''''''''''''
>
> but it don't Active DeleteUserOnline_CodeBehind function. why?, help
> me.
>
>
> >
>
--
Best regards | Sch?e Gr廻e
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---