Microsoft Community Contributor Award 2011

Okay, I’m surprised. I got a mail from Microsoft few hours ago stating that I’ve been awarded “Microsoft Community Contributor Award” for the year 2011. This is the mail (but not the complete one) I got.

Microsot Contributor Award

Dear Raghavendra,

Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award.

The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN and Answers. The value of these resources is greatly enhanced by participants like you, who voluntarily contribute your time and energy to improve the online community experience for others.

Thank you for your commitment to Microsoft online technical communities and congratulations again!

Thank you Microsoft for your recognition. Okay what else do I get apart from the certificate and the cool badges? They have given me 12 month free subscription for “Microsoft Press E-Reference Library” which have hundreds of books in different formats and the patterns and practices whitepapers etc. Cool!


Using Telerik RadWindow as a popup or confirm box

Telerik RadWindow is mostly used as an ajax popup window to load a separate page. But it can be used a neat alert/confirm box instead of using the JavaScript confirm box. Here is the code below –


<asp:Button ID="btnOpenPopup" runat="server" Text="Close" OnClick="btnOpenPopup_Click" />
<br />
<asp:Label ID="lblMessage" runat="server"></asp:Label>
<telerik:RadWindow ID="radwindowPopup" runat="server" VisibleOnPageLoad="false" Height="150px"
                    Width="300px" Modal="true" BackColor="#DADADA" VisibleStatusbar="false" Behaviors="None" Title="Unsaved changes pending">
    <div style="padding: 20px">
        Do you want to save the changes?
        <br /><br />
        <asp:Button ID="btnOk" runat="server" Text="Yes" Width="50px" OnClick="btnOk_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="No" Width="50px" OnClick="btnCancel_Click" />


public partial class Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)

    protected void btnOpenPopup_Click(object sender, EventArgs e)
        radwindowPopup.VisibleOnPageLoad = true;

    protected void btnOk_Click(object sender, EventArgs e)
        radwindowPopup.VisibleOnPageLoad = false;
        lblMessage.Text = &quot;Changes are saved!&quot;;

    protected void btnCancel_Click(object sender, EventArgs e)
        radwindowPopup.VisibleOnPageLoad = false;
        lblMessage.Text = &quot;Changes are discarded!&quot;;

Button ‘btnOpenPopup’ opens the popup by making the radwindow visible by setting ‘VisibleOnPageLoad’ to true. To hide it you just need to set it back to false. You’ve got your custom confirm box now which looks sleek.