First hi and thanks in advance in ASP.NET : assume that i have a web site, and there are many users. i want to inform a specific user about some thing happened by other one ,or generally any thing like an incoming message from other one . all that should be happen while this user (who i want to inform) has opened his web page , (let's say an message box) to be opened or the link that takes him to his messages changes it's color (with out refreshing the web page !). i have looked for that in ajax and it gives good things but not exactly what i want, if some can help plz do
You'll need to clarify somewhat what you are talking about here:
Without some answers to these it is hard to give a good answer without making tons of assumptions.
It sounds like you're talking about 'push' notifications. Unfortunately, that's just not the way the web is designed. Rather, it's set up so that a user asks for a specific resource and the web server provides it if it can. One request always returns exactly one response.
This means that you need to simulate the push service by creating a heartbeat between a rendered browser page and your server. The web page will have javascript that tells the browser to periodically ask the server, "Do you have any changes for me?" You can implement that in ASP.Net AJAX using the timer control, but it can be tricky to get it right. There are lots of little gotchas you need to watch out for.