Re: Display UserList on another page

  •  09-09-2009, 10:45 AM

    Re: Display UserList on another page

    Please check chat.aspx.
     
    1. private void rptLobbies_ItemDataBound(object sender, DataListItemEventArgs e)   
    2.     {   
    3.         if (e.Item.DataItem == null)   
    4.         {   
    5.             return;   
    6.         }   
    7.   
    8.         LobbyInfo lobby = (LobbyInfo)e.Item.DataItem;   
    9.   
    10.                    
    11.         HyperLink lnkLobby = e.Item.FindControl("lnkLobby"as HyperLink;   
    12.         lnkLobby.NavigateUrl = CuteChat.ChatWebUtility.ResolveResource(this.Context, "Channel.Aspx") + "?Place=Lobby-" + lobby.Lobby.LobbyId;   
    13.         lnkLobby.Target = "_blank";   
    14.   
    15.         String sOnlineChater = lobby.JoinClient(",");   
    16.   
    17.         Label lblOnlineChater = e.Item.FindControl("lblOnlineChater"as Label;   
    18.         lblOnlineChater.Text = lobby.ClientCount.ToString();   
    19.         lnkLobby.ToolTip = sOnlineChater;   
    20.     }  

    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

View Complete Thread