Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘alert’

Search Alerts

Posted by Jean Paul on July 24, 2012

In this article we can examine the Search Alerts feature of SharePoint.

What is Search Alert?

Search Alert is a feature by which the user query is saved. Later when a content matches the query, the user is informed about the content through email or RSS feed. The major search providers online have this feature.

SharePoint 2010 also provides the Search Alert feature.

Experimenting with Alert

You can try with the Search Alert feature.

1. Open the default site and use the search term which does not exist. For eg: Art of Living. Clearly your search result will be none as shown below.


2. Now click on the Email button which is highlighted above. You will get the following screen


Enter the details and click the OK button. Your Search Alert is ready.

For testing the alert, create a list content with the Alert Keyword. You will be getting email notification for the same as daily summary / weekly summary based on the option you have selected. We can also add RSS feeds as an alternative for Email.



In this article we have explored the Search Alerts feature of SharePoint.

Posted in SharePoint | Tagged: , , , | Leave a Comment »

For Beginners: In ASP.NET how to show a Javascript Alert message box?

Posted by Jean Paul on December 2, 2010

I have seen frequently that beginners in ASP.NET try to use Windows Forms MessageBox and fails.

I would like to say that MessageBox class is meant for Windows Forms Application and not ASP.NET Web applications.

In ASP.NET applications, you have to:

Use either a page to show the message


Use javascript alert function to show the message (the example is given below)


Create a new web application using File > New Project > Web > ASP.NET Web Application


In the solution Explorer, right click on the Default.aspx and use View Code command.

Replace the Page_Load method code as below:

protected void Page_Load(object sender, EventArgs e)


    string message = "Test Message Box in ASP.NET";

    string script = "<script language=’javascript’>alert(‘" + message + "’);</script>";

    ClientScript.RegisterStartupScript(GetType(), "key", script);


Now you can execute the application.


On loading the page you will see the following message box (if not enable javascript in your browser)


Posted in C# | Tagged: , , | Leave a Comment »