.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Blink title bar for chat

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :ASP.Net
Hi Friends,I have developed a database driven web chat, that is part of my web site. A timer works to check for new users and messages at an interval and refreshes the page to give the users list and messages. However, if the page is minimized, there is no way for the chat attendant to know if a user has become online.I have searched a lot of sites to determine if there is a good way to implement blinking of the page window title when a user becomes online. I have gone this far to change the title of the page, during an incoming message as shown below:if (NewMessage.ToString() == "1")             {                 Page.Title = "Incoming chat";                                  return "~/App_Themes/default/images/Orange1_.png";                              }if (NewMessage.ToString() == "1")            {                Page.Title = "Incoming chat";            }In this scenario, I would also like to blink the title bar so as to alert the administrator. I presume javascr

View Complete Post

More Related Resource Links

Gmail internal chat like message box

This article provides you with the multi-functional message box window through which the usability of the web-site or any web application increases.

.Configurable MessageBox window with AJAX Support
.can set maximum number of message boxes to be visible
.can define the auto reload time, for single message, for all messages or no reload
.can create messages through a single function call
.can define auto hide time for each messages

Chat Application

Serial Communication

Figure 11: A chat application using the SerialPort class.
In .NET Compact Framework 1.1, accessing the serial ports on the device involves performing a Platform Invoke (P/Invoke) operation, which is often an arduous and error-prone process. With .NET Compact Framework 2.0, you can access serial ports using the SerialPort class.

Need Help in creating chat application using jquery.


Hello Friends

             I have to develope Jquery chat application Like Gmail  in My Web application. For this i spend My lots of hours in Googling. AT THE time of searching I got one script. which is very helpful.  But in the script author has used all the members who has logged will be appeared in the chat box. instead of this i have to put only the members who's are in the friendlist. i have to show only these members.

Following is the project from where i get script.

As well as in the code author has passed dynamic userid to session but i have to pass actuall userid from database.


from Here I download the code. but the code is in the 3.5 framework. i m using 2.0 framwork. so most of the code I have changed but not getting how to make changes for list.

Please help me to solve the Problem.

Thanks In Advance


Page Title from Resource file...



I have Resource file...

I am using following code for Display Lable Text...

<asp:Label ID="lblName" runat="server" Text="<%$ Resources:resource,NAME %>"></asp:Label>

and I want to use that name for page title...

so I used "me.page.resources.resource.NAME" in code behind page.

 but I want to use that NAME in

<%@ Page Language="VB"

Toolbox: Live Chat, Code Conversion, Multiple Monitors, and More


This month, more of the tools you need to get your job done.

Scott Mitchell

MSDN Magazine December 2007

"Unplugged" online chat with me this Wednesday

I just got back from my trip to India and the UK last week - and will be returning to more regular blogging shortly.  This Wednesday (August 18th) I'm going to be doing another online LIDNUG chat session .  The chat will be from 10:00am to 11:30am Pacific Time.  I do these chats a few times a year and they tend to be pretty good.  Attendees can submit any questions they want to me, and listen to me answer them live via LiveMeeting.  You can learn more about it here and join the chat and ask questions at the appropriate time with this link . Hope to get a chance to chat with some of you there! Scott P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com...(read more)

passing page title through a param


Hello all,

   I am new to ASP.NET, and was wondering how to pass a Page title through a parameter.  In classic ASP I could just use something like: <title><%=Pagetitle%></title> but I cannot seem to get this to work in ASP.NET. 

Thank you in advance,

The New Guy... Smile 

Polling in ajax chat



i'm trying to write some chat in asp.net mvc 2, can you advice me how get new message?

now i'm looking at a PokeIn - is this library help me in my problem? 

thank you!

How to realize chat between exactly two visitors


Dear folks,

I want to realize the following with AJAX and .NET, but I don't know the best way to do it.

Person A comes to the website, clicks a button 'I want to chat'. Then Person B comes and he should see a list where he can choose 'chat with A'.

I have two questions:

- What is the best way to address B's message to A? After B has sent his message to the server, how does the message get to A?

- Is it possible to invoke a "update-chat" function for A when a message for him arrives? (Of course, A's browser could ask the server 'do you have a message for me?' every second, but this seems not a good solution.)

Thank you in advance!

Is it possible to change the title bar background and the font style on default template?



Is there any way to change the default top link /title bar picture and the fonts of the title without breaking anything in the layout/structure?

I have changed the theme to Obsedian and I would also like to change the picture of the title bar of this theme and also the font/style of the title, top link bar, menus..etc. Is there a way to do this?

Please note: I am using WSS 3.0 and I am not the Administrator of the sharepoint. I am only the site admin of some sites on this sharepoint. I can do some basic customization using SPD.

Basically, what I am trying to do is that I want to set up a sharepoint site, however I want to make it NOT look like a sharepoint site.Well I know this is possible, but for my case it might be just partially possible due to the limitation that I am not the Site collection admin and hence I do not have direct access to the server itself.

What I want is to hide most of the sharepoint links/menus/bars, etc and use my own buttons/hyperlinks etc .. for user to navigate on the sites.

Thanks in advance for your help/advices.



Master Page And Title Tag


Hello everybody.

I am new in ASP.NET. Right now I am practising MasterPage and association of other pages with it. These is so far I have :

MasterPage :

<%@ Master Language = "C#" AutoEventWireup = "true" CodeFile = "MasterPage.master.cs" Inherits = "MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<head runat = "server">
<title visible = "false" runat = "server"></title>
<asp:ContentPlaceHolder id = "Head" runat = "server">
<link href = "StyleSheet.css" rel = "Stylesheet" type = "text/css" />

<form id = "form1" runat = "server">
<div id = "header">
<li><a href = "Default.aspx">Default</a></li>
<li><a href = "MembersProfile.aspx">Profile</a></li>

<div id = "m

How to Get the Title, Description Property of a WebPage

Hi Guys! I'm doing up a search engine & what i want to happen is to get the title and description from the page as in below:<%@ Page Title="WHSCT - Health Care Management Plans" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="healthcare.aspx.vb" Inherits="mainpage" Description="List of care plans under Gynaecology, Obstetrics, NNICU & Paediatrics" %> And here is the code that gets the meta tags:Public Shared Sub GetFileInfo(ByVal FPath As String, ByVal srchFile As Page) Dim fileInform As New FileInfo(FPath) Dim strBldFile As New StringBuilder() Dim fileSize As Decimal = fileInform.Length \ 1024 srchFile.Size = fileSize GetFilePath(FPath, srchFile) If InStr(1, ClassSite.DynamicFilesTypesToSearch, fileInform.Extension, vbTextCompare) > 0 Then m_page.Trace.Warn("Path", String.Format("{0}/{1}", "", srchFile.Path)) GetDynamicFileContent(srchFile) Else GetStaticFileContent(FPath, srchFile) End If If Not srchFile.Contents.Equals("") Then 'Read in the title of the file 'Path.GetFileName(FPath).Substring(0, Path.GetFileName(FPath).LastIndexOf(".")) s

Peer to peer chat

Hi,   Are there any examples which illustrate how to perform a simple peer to peer chat program? Basically, all I need is for 2 PCs to be able to send texts to each other. I don't even need any displaying, no acknowledgement needed. All the examples I found are client-server chat room style programs, or WCF peer to peer. Are there any windows form examples? Example: PC-A sends PC-B "Hello". PC-B receives it and processes it (eg. write it into a text file) PC-B sends PC-A "Hi". PC-A does the same thing to process it.    

does SPD support filtering of the mail title/body we send to a list/library?

for example, if we send a mail with the title of "%hostname% %ipaddress%" to a list. can SPD WF filter the title and get %hostname% to a new variable? the reason to ask this is i want to send a well-formated mail to sharepoint and the automatical WF can recognize the change of the list items and update the relevant columns by the filtered content from mail title or body. thanks!

Changing the application title / name in the taskbar...

Hi all- I have a quick question....is there a way to change the name of my application within the window's taskbar?  Currently, on hover, it displays the name currently set as the Title of my application.  Is there a way that I can change this (a property on the Window object, etc) where I can maintain the window title, but have a different name for the taskbar?   Thanks for any help. Chris  

Change Text of Sharepoint Form Dialog title Bar

Hi, I am having Sharepoint 2010 RTM Trial on Windows Server 2008 SP2. I have published custom infopath form to sharepoint List. I have two views in that form, One is called AddItem and The other one is called EditItem. I have use the infopath rule to switch views depending on some condition and it is working fine. But when the view is switched to EditItem, I want to Customize the Title bar of Form Dialog to my custom text.... Can anybody have an answer ? Regards

Issues with Web Part Title and Description information

I have created a series of visual web parts for my clients SharePoint 2010 server farm and for each one I have altered the default values for the visual web part title and description, both of which can be found in the visual web part control's .webpart file. Example ... <?xml version="1.0" encoding="utf-8"?> <webParts>   <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">     <metaData>       <type name="ECUserContWebPart.ECUserCont, $SharePoint.Project.AssemblyFullName$" />       <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>     </metaData>     <data>       <properties>         <property name="Title" type="string">Employee Centre User Content Web Part</property>         <property name="Description" type="string">Staff Events Calendar - Discussions - Blogs for Employee Centre</property>       </properties>     </data>   </webPart> </webParts> When I deploy this to my local development environment using Visual Studio 20
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend