Lyndon,
Ok.
Please use the following code:
<%@ Control Language="vb" Inherits="DotNetNuke.PortalModuleControl" %>
<%@ Import Namespace="DotNetNuke" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="CuteSoft.Chat" %>
<script runat="server">
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
MyBase.OnLoad(e)
If Not IsPostBack Then
Dim ChatCount As Integer
Dim ChatUsers As String
For Each lobbyinfo As LobbyInfo In ChatApi.GetLobbyInfoArray()
ChatCount = ChatCount + lobbyinfo.ClientCount
ChatUsers = ChatUsers + lobbyinfo..JoinClient(",")
Next
Literal1.Text = ChatCount.ToString
Literal2.Text = ChatUsers
End If
End Sub
</script>
<asp:Literal ID="Literal1" Runat="server" />
<asp:Literal ID="Literal2" Runat="server" />
And add it as a module to your DNN. That will resolve the problem.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx