Monday 6 June 2011

Alertbox from codebehind(C#)

Code:
public void Say(string msg)
    {
        string popupScript;
        popupScript = "<script language='javascript'>alert('" + msg + "');</script>";
        ClientScript.RegisterStartupScript(this.GetType(), "popupScript", popupScript);
    }

Calling:
 Say("Please Select a Subject");



Friday 3 June 2011

Hello world!!

Hi,

Greetings!!!

This is my first post of this blog..I will keep updating the blog with small scale utilities used in day-to-day programming.

Be online..