javascript __doPostBack导致前一行不被调用?

时间:2016-07-22 02:00:01

标签: javascript asp.net pokein

我正在使用PokeIn,当我运行以下调用时:

function OnSucceeded(messagefixed) {
            if (PokeIn.IsConnected) {
               pCall['Dummy'].SendMessageToAllUsers(messagefixed);

               __doPostBack('LinkButton1', messagefixed);
           }
           else
               alert("This client is not connected!");
       }

它不起作用......它只是发回一个帖子,但是,如果我注释掉__doPostBack它完全正常并且做了之前的调用..我做错了吗?

“SendMessageToAllUsers”是VB.NET中代码隐藏的函数,它是:

Public Sub SendMessageToAllUsers(ByVal stMessage As String)
    CometWorker.Groups.Send("SSID:" & iSDID, ("UpdateTime('" & stMessage & "');"))
End Sub

0 个答案:

没有答案