How to use javascript to change values of a controls inside a gridview?


There are situations where you need to change value present in grid view dynamically. In one of my project, I need to calculate price according to the number of food items selected from a drop-down list control and this will be client site operation. To do that I have used JavaScript. Below is the ASP.NET and JavaScript which you need to past it in ASP.NET page.


       
           

               

                   

               

           

           

               

                   

                       

                       

                       

                       

                       

                   

               

           

            

               

                   

               

           

           

               

                   

               

           

           

               

                   

               

               

                   

               

           

           

               

                   

               

               

                   

               

           

       

    



Confirmation dialog box in Code Behind using C#( C-Sharp ) in ASP.NET


You can call a confirmation dialog box from code behind using c#. Copy follow the code in respective files.

Copy this is HTML

<p>
        <asp:Button id="btnSave" runat="server" Text="Save and Update 'RFFM'" OnClientClick="return UpdateRFFM();" />
    </p>

Copy this in C# code behind.
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using System.Text;
using ADI.Web;

namespace SIS
{
    public partial class update_sis : System.Web.UI.Page
    {
        SqlCommand cmd;
        SqlParameter pm;
        string strForm = "";
        StringBuilder sb;
        string strError = "";
        int UpdateStatus = -1;
        string strEmailTemplate = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            Response.ContentType = "text/plain";
            Response.Cache.SetCacheability(HttpCacheability.NoCache);

            if (Request["form_name"] == null)
            {
                Response.Write("");
                Response.End();
            }
            strForm = Utils.ToStringNullSafe(Request["form_name"]);
            sb = new StringBuilder();

            if (Session["ApplicationId"] == null)
            {
                Response.Write("Bad Request...");
                Response.End();
            }

            int ApplicationId = int.Parse(Session["ApplicationId"].ToString());

            switch (strForm)
            {
                case "rffm_create_user":
                    if (Session["email"] == null)
                    {
                        Response.Write("Bad Request");
                        Response.End();
                    }
                    Session["errmsg"] = "";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_PutUser");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        // input parameters
                        cmd.Parameters.Add("Id", SqlDbType.Int).Value = 0;
                        cmd.Parameters.Add("@UserName", SqlDbType.VarChar, 50).Value = Session["Email"].ToString();

                        string strPassword = System.Guid.NewGuid().ToString().Substring(0, 8);
                        
                        cmd.Parameters.Add("@Password", SqlDbType.VarChar, 50).Value = Utils.base64Encode(strPassword);
                        cmd.Parameters.Add("@Active", SqlDbType.Bit).Value = false;
                        int ClubId = int.Parse(Session["ClubId"].ToString());
                        if (ClubId > 0)
                        {
                            cmd.Parameters.Add("@Group_Id", SqlDbType.Int).Value = 31;
                            cmd.Parameters.Add("@Club_Id", SqlDbType.Int).Value = ClubId;
                            cmd.Parameters.Add("@NonClub_Id", SqlDbType.Int).Value = (object)DBNull.Value;
                        }
                        else
                        {
                            cmd.Parameters.Add("@Group_Id", SqlDbType.Int).Value = 32;
                            cmd.Parameters.Add("@Club_Id", SqlDbType.Int).Value = (object)DBNull.Value;
                            cmd.Parameters.Add("@NonClub_Id", SqlDbType.Int).Value = int.Parse(Session["Non_ClubId"].ToString());
                        }

                        Utils.executeSP(cmd);
                        Session.Remove("emil");
                        strError = "";

                        if (Session["errmsg"].ToString() != "") 
                            strError = "-1" + Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            int UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "-1There was a problem when creating new user. Please contact Admin";
                            else
                            {
                                // send email
                                strEmailTemplate = Utils.ReadTemplate("newuser.txt");
                                strError = "00" + SIS_Site.SendEmail(UpdateStatus, strEmailTemplate);
                            }
                        }
                    } catch (Exception ex) {
                        strError = "-1" + ex.Message;
                    }
                    break;
                case "rffm_SendVerificationEmail":
                    // send email
                    if (Session["UserId"] == null)
                    {
                        Response.Write("Bad Request");
                        Response.End();
                    }
                    strError = "";
                    strEmailTemplate = Utils.ReadTemplate("newuser.txt");
                     strError = "00" + SIS_Site.SendEmail(int.Parse(Session["UserId"].ToString()), strEmailTemplate);
                    Session.Remove("UserId");
                    break;
                case "rffm_UserSetupVerify":
                    strError = "";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_UserSetupVerify");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        SqlParameter pm2 = new SqlParameter("@EMail", SqlDbType.VarChar, 500);
                        pm2.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm2);

                        SqlParameter pm3 = new SqlParameter("@Updatetext", SqlDbType.VarChar, 200);
                        pm3.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm3);

                        SqlParameter pm4 = new SqlParameter("@UserId", SqlDbType.Int);
                        pm4.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm4);

                        // input parameters
                        cmd.Parameters.Add("@ApplicationId", SqlDbType.Int).Value = ApplicationId;

                        Utils.executeSP(cmd);

                        if (Session["errmsg"] != null)
                            strError = Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "There was an error when processing your request";
                        }

                        Session["email"] = cmd.Parameters["@EMail"].Value.ToString();
                        Session["UserId"] = cmd.Parameters["@UserId"].Value.ToString();
                        Session["Updatetext"] = cmd.Parameters["@Updatetext"].Value.ToString();

                        switch (UpdateStatus)
                        {
                           case 1:
                                strError = "1";
                                break;
                            case 2:
                                strError = "2";
                                break;
                            case 3:
                                strError = "3";
                                break;
                            case 4:
                                strError = Session["Updatetext"].ToString();
                                break;
                            case 5:
                                strError = "5" + Session["Updatetext"].ToString();
                                break;
                            default:
                                break;
                        }
                    }
                    catch (Exception ex)
                    {
                        strError = ex.Message;
                    }
                    break;

                case "rffm":
                    Session["current_tab"] = "rffm";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_PutProjectProfile");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        // input parameters
                        cmd.Parameters.Add("@ApplicationId", SqlDbType.Int).Value = ApplicationId;
                        cmd.Parameters.Add("@LastSavedBy", SqlDbType.VarChar, 50).Value = Session["user"].ToString();

                        cmd.Parameters.Add("@FeasibilityStudyDocument", SqlDbType.VarChar, 8000).Value = Request["FeasibilityStudy"];
                        cmd.Parameters.Add("@PlanningPermissionNotRequired", SqlDbType.VarChar, 8000).Value = Request["PlanningPermissionNotRequired"];
                        cmd.Parameters.Add("@Sustainable", SqlDbType.VarChar, 8000).Value = Request["Sustainable"];

                        string strRDMRecommendation = Request["RDMRecommendation"];
                        cmd.Parameters.Add("@RDMRecommendation", SqlDbType.VarChar, 8000).Value = (strRDMRecommendation == null) ? (object)DBNull.Value : strRDMRecommendation;

                        cmd.Parameters.Add("@Risk", SqlDbType.VarChar, 10).Value = Request["Risk"];
                        cmd.Parameters.Add("@Region", SqlDbType.VarChar, 50).Value = Request["Region"];
                        cmd.Parameters.Add("@RDMName", SqlDbType.VarChar, 50).Value = Session["user"].ToString();
                        cmd.Parameters.Add("@RDMReviewDate", SqlDbType.DateTime).Value = DateTime.Now;
                        cmd.Parameters.Add("@DesignAndPlanningPermission", SqlDbType.VarChar, 8000).Value = Request["DesignAndPlanningPermission"];
                        cmd.Parameters.Add("@RecommendationOfProjectNeedAgainstSDA", SqlDbType.VarChar, 8000).Value = Request["RecommendationOfProjectNeedAgainstSportsDevelopmentActivity"];
                        cmd.Parameters.Add("@ValueForMoneyAssessment", SqlDbType.VarChar, 8000).Value = Request["ValueForMoneyAssessment"];
                        cmd.Parameters.Add("@ActionId", SqlDbType.Int).Value = int.Parse(Request["ActionId"].ToString());
                        cmd.Parameters.Add("@ActionNotes", SqlDbType.VarChar, 500).Value = "RFFM";

                        Utils.executeSP(cmd);

                        if (Session["errmsg"] != null)
                            strError = Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "There was an error when processing your request";
                            else
                                Session["current_tab"] = "";
                        }
                    }
                    catch (Exception ex)
                    {
                        strError = ex.Message;
                    }
                    break;

                case "check_session":
                    if (Session["ApplicationId"] != null)
                    {
                        string hfID = Request["hf_ApplicationId"].ToString();
                        string sfID = Session["ApplicationId"].ToString();

                        if (hfID != sfID)
                        {
                            strError = "-1";
                        }
                    }
                    break;
                default:
                    strError = "Bad request";
                    break;

            }
            
            Response.Write(strError);
        }
    }
} 
 
 
 
Copy this in Javascript file

function UpdateRFFM()
{
    var msg;
    var status_code;
    var rffmAction = $(".rffmAction").val();
    var Risk = $(".ddlRisk").val();
    var Region = $(".ddlRegion").val();
    var strError = "";
    
    if (rffmAction == "151") {
        if (Risk == "")
            strError = strError + "Please select a Risk\n";
        if (Region == "")
            strError = strError + "Please select a Region\n";                
    }
    
    if (strError != "") {
        alert(strError);
        return false;
    }
    
    var reply = false;

    if (rffmAction == "151") {
        $.post(getFullPath("update_sis.aspx"), 
            {form_name: 'rffm_UserSetupVerify'}, function(data) {
            if (data.length > 0)
                status_code = data.substring(0, 1);
            else
                status_code = '';
            
            switch(status_code) {
                case '0':
                    UpdateRFFM_Normal();
                    break;
                case '1':
                    $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_create_user'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else {
                                alert('created new user account\n\n' + msg);
                                UpdateRFFM_Normal();
                            }                                    
                        });
                    break;
                case '2':
                    UpdateRFFM_Normal();
                    break;
                case '3':
                     $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_SendVerificationEmail'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else {
                                alert('verification email sent\n\n' + msg);
                                UpdateRFFM_Normal();
                            }
                        });
                    break;
                case '4':
                    alert(data);
                    break;
                case '5':
                    msg = data.substring(1);
                    if (confirm(msg) == true) {
                      $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_SendVerificationEmail'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else 
                                alert('verification email was sent\n\n' + msg);
                                UpdateRFFM_Normal();
                        });
                    }
                    break;                                                                                                
                default:
                    alert(data);
                    break;
            }
        });
    } else
        UpdateRFFM_Normal();

    return reply;
}
function UpdateRFFM_Normal() {
    var reply = false;         
    $.post(getFullPath("update_sis.aspx"), {form_name: 'rffm',
        FeasibilityStudy: $(".FeasibilityStudy").val(),
        PlanningPermissionNotRequired: $(".PlanningPermissionNotRequired").val(),
        Sustainable: $(".Sustainable").val(),
        RDMRecommendation: $(".RDMRecommendation").val(),
        Risk: $(".ddlRisk").val(),
        Region: $(".ddlRegion").val(),
        DesignAndPlanningPermission: $(".DesignAndPlanningPermission").val(),
        RecommendationOfProjectNeedAgainstSportsDevelopmentActivity: $(".RecommendationOfProjectNeedAgainstSportsDevelopmentActivity").val(),
        ValueForMoneyAssessment: $(".ValueForMoneyAssessment").val(),
        ActionNotes: $(".ActionNotes").val(),
        ActionId: $(".rffmAction").val()
        }, function(data) {
           if (data.length > 0) {
                alert(data);
                return false;
            } else {
                window.location = getFullPath("application_form.aspx");
                return false;
            }
        });
}

Creating Horizontal and Vertical Menu with CSS in ASP.NET


There are number of ways to develop MENU for you website. Programmers have the independence to develop their website menu as the like. You can build a menu using JavaScript, HTML, and CSS etc.., today we are going to create menu with CSS. We will be creating Horizontal and Vertical Menu as well.

For more information http://www.asp.net/cssadapters/Menu.aspx

<a href="#ctl00_ctl00_MainContent_LiveExample_Menu1_SkipLink"><img alt="Skip Navigation Links" src="/cssadapters/WebResource.axd?d=UUOvVNmVYQo-9uVb4SQONw2&amp;t=633802488069218315" width="0" height="0" style="border-width:0px;" /></a><table id="ctl00_ctl00_MainContent_LiveExample_Menu1" class="Menu-Skin-Vertical ctl00_ctl00_MainContent_LiveExample_Menu1_2" cssselectorclass="PrettyMenu" cellpadding="0" cellspacing="0" border="0">
  <tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Products" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Products" style="border-style:none;font-size:1em;">Products</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Products" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Legal" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Legal" style="border-style:none;font-size:1em;">Legal</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Legal" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Support" style="border-style:none;font-size:1em;">Support</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Support" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Just for You" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Just for You" style="border-style:none;font-size:1em;">Just for You</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Just for You" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="About" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=About" style="border-style:none;font-size:1em;">About</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand About" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr>
</table><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n0Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Windows" id="ctl00_ctl00_MainContent_LiveExample_Menu1n5">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsWindows" style="border-style:none;font-size:1em;">Windows</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Office" id="ctl00_ctl00_MainContent_LiveExample_Menu1n6">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsOffice" style="border-style:none;font-size:1em;">Office</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Business Solutions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n7">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsBusinessSolutions" style="border-style:none;font-size:1em;">Business Solutions</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Servers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n8">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsServers" style="border-style:none;font-size:1em;">Servers</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Developer Tools" id="ctl00_ctl00_MainContent_LiveExample_Menu1n9">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsDeveloperTools" style="border-style:none;font-size:1em;">Developer Tools</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Subscriptions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductSubscriptions" style="border-style:none;font-size:1em;">Subscriptions</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Subscriptions" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="More" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMore" style="border-style:none;font-size:1em;">More</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand More" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n10Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Software" id="ctl00_ctl00_MainContent_LiveExample_Menu1n12">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsSubscriptionsSoftware" style="border-style:none;font-size:1em;">Software</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Manage Your Profile" id="ctl00_ctl00_MainContent_LiveExample_Menu1n13">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsSubscriptionsManageYourProfile" style="border-style:none;font-size:1em;">Manage Your Profile</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n11Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Mobile Devices" id="ctl00_ctl00_MainContent_LiveExample_Menu1n14">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMobileDevices" style="border-style:none;font-size:1em;">Mobile Devices</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Games and Xbox" id="ctl00_ctl00_MainContent_LiveExample_Menu1n15">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsGamesXbox" style="border-style:none;font-size:1em;">Games and Xbox</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Hardware" id="ctl00_ctl00_MainContent_LiveExample_Menu1n16">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsHardware" style="border-style:none;font-size:1em;">Hardware</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="MSN" id="ctl00_ctl00_MainContent_LiveExample_Menu1n17">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMSN" style="border-style:none;font-size:1em;">MSN</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n1Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="License" id="ctl00_ctl00_MainContent_LiveExample_Menu1n18">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalLicense" style="border-style:none;font-size:1em;">License</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Terms of Use" id="ctl00_ctl00_MainContent_LiveExample_Menu1n19">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalTerms" style="border-style:none;font-size:1em;">Terms of Use</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Privacy" id="ctl00_ctl00_MainContent_LiveExample_Menu1n20">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalPrivacy" style="border-style:none;font-size:1em;">Privacy</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n2Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support Lifecycle and Policies" id="ctl00_ctl00_MainContent_LiveExample_Menu1n21">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportLifecyclePolicies" style="border-style:none;font-size:1em;">Lifecycle and Policies</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Contact Support" id="ctl00_ctl00_MainContent_LiveExample_Menu1n22">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportContact" style="border-style:none;font-size:1em;">Contact Support</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Third-Party Services" id="ctl00_ctl00_MainContent_LiveExample_Menu1n23">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportThirdPartyProviders" style="border-style:none;font-size:1em;">Third-Party Services</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Research" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Research" style="border-style:none;font-size:1em;">Research</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Research" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Downloads" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Downloads" style="border-style:none;font-size:1em;">Downloads</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Downloads" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Learning" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Learning" style="border-style:none;font-size:1em;">Learning</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Learning" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Subscriptions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptions" style="border-style:none;font-size:1em;">Subscriptions</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Subscriptions" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n24Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Product Support Centers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n28">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportProductCenters" style="border-style:none;font-size:1em;">Product Info</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Knowledge Base" id="ctl00_ctl00_MainContent_LiveExample_Menu1n29">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportKnowledgeBase" style="border-style:none;font-size:1em;">Knowledge Base</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Communities and Newsgroups" id="ctl00_ctl00_MainContent_LiveExample_Menu1n30">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportCommunitiesNewsgroups" style="border-style:none;font-size:1em;">Communities</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support for IT Professionals" id="ctl00_ctl00_MainContent_LiveExample_Menu1n31">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportITProfessionals" style="border-style:none;font-size:1em;">IT Pros</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support for Developers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n32">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportDevelopers" style="border-style:none;font-size:1em;">Developers</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n25Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Windows Update" id="ctl00_ctl00_MainContent_LiveExample_Menu1n33">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=DownloadsWindowsUpdate" style="border-style:none;font-size:1em;">Windows Update</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Office Update" id="ctl00_ctl00_MainContent_LiveExample_Menu1n34">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=DownloadsOfficeUpdate" style="border-style:none;font-size:1em;">Office Update</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n26Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Books" id="ctl00_ctl00_MainContent_LiveExample_Menu1n35">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningBooks" style="border-style:none;font-size:1em;">Books</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Training" id="ctl00_ctl00_MainContent_LiveExample_Menu1n36">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningTraining" style="border-style:none;font-size:1em;">Training</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Certification" id="ctl00_ctl00_MainContent_LiveExample_Menu1n37">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningCertification" style="border-style:none;font-size:1em;">Certification</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Events" id="ctl00_ctl00_MainContent_LiveExample_Menu1n38">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningEvents" style="border-style:none;font-size:1em;">Events</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Webcasts" id="ctl00_ctl00_MainContent_LiveExample_Menu1n39">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningWebcasts" style="border-style:none;font-size:1em;">Webcasts</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Patterns and Practices" id="ctl00_ctl00_MainContent_LiveExample_Menu1n40">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningPatternsPractices" style="border-style:none;font-size:1em;">Patterns and Practices</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n27Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Newsletters" id="ctl00_ctl00_MainContent_LiveExample_Menu1n41">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptionsNewsletters" style="border-style:none;font-size:1em;">Newsletters</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Manage Your Profile" id="ctl00_ctl00_MainContent_LiveExample_Menu1n42">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptionsManageYourProfile" style="border-style:none;font-size:1em;">Manage Your Profile</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n3Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Home Users" id="ctl00_ctl00_MainContent_LiveExample_Menu1n43">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouHomeUsers" style="border-style:none;font-size:1em;">Home Users</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Macintosh Users" id="ctl00_ctl00_MainContent_LiveExample_Menu1n44">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouMacintoshUsers" style="border-style:none;font-size:1em;">Macintosh Users</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="IT Professionals (TechNet)" id="ctl00_ctl00_MainContent_LiveExample_Menu1n45">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouITProfessionals" style="border-style:none;font-size:1em;">IT Professionals</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Developers (MSDN)" id="ctl00_ctl00_MainContent_LiveExample_Menu1n46">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouDevelopersMSDN" style="border-style:none;font-size:1em;">Developers (MSDN)</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Partners" id="ctl00_ctl00_MainContent_LiveExample_Menu1n47">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouPartners" style="border-style:none;font-size:1em;">Partners</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Small Businesses" id="ctl00_ctl00_MainContent_LiveExample_Menu1n48">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouSmallBusinesses" style="border-style:none;font-size:1em;">Small Businesses</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Large Businesses" id="ctl00_ctl00_MainContent_LiveExample_Menu1n49">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouLargeBusinesses" style="border-style:none;font-size:1em;">Large Businesses</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Government" id="ctl00_ctl00_MainContent_LiveExample_Menu1n50">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouGovernment" style="border-style:none;font-size:1em;">Government</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Educators" id="ctl00_ctl00_MainContent_LiveExample_Menu1n51">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouEducators" style="border-style:none;font-size:1em;">Educators</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Journalists" id="ctl00_ctl00_MainContent_LiveExample_Menu1n52">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouJournalists" style="border-style:none;font-size:1em;">Journalists</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n4Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Accessibility" id="ctl00_ctl00_MainContent_LiveExample_Menu1n53">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutAccessibility" style="border-style:none;font-size:1em;">Accessibility</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Careers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n54">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutCareers" style="border-style:none;font-size:1em;">Careers</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Community Affairs" id="ctl00_ctl00_MainContent_LiveExample_Menu1n55">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutCommunityAffairs" style="border-style:none;font-size:1em;">Community Affairs</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Diversity" id="ctl00_ctl00_MainContent_LiveExample_Menu1n56">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutDiversity" style="border-style:none;font-size:1em;">Diversity</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Investor Relations" id="ctl00_ctl00_MainContent_LiveExample_Menu1n57">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutInvestorRelations" style="border-style:none;font-size:1em;">Investor Relations</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Research" id="ctl00_ctl00_MainContent_LiveExample_Menu1n58">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutResearch" style="border-style:none;font-size:1em;">Research</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Security and Privacy" id="ctl00_ctl00_MainContent_LiveExample_Menu1n59">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutSecurityPrivacy" style="border-style:none;font-size:1em;">Security and Privacy</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><a id="ctl00_ctl00_MainContent_LiveExample_Menu1_SkipLink"></a>

How can I bind Data in ASP.NET GridView?


You can easy bind data in ASP.NET. You don't even need to write a single line of code for that. You only need to follow the steps:

1. Fire-up Microsoft Visual Studio IDE. Navigate to File - New -Project. You will find New Project dialog box open. Now select appropriate language from Project Type, Select ASP.NET Web Application from Templates enter name of the project and set the location for it.

Data Binding in ASP.NET Step-1
2. Once you open a new project you will get some default files in Visual Studio Solution Explorer. Open Default.aspx in Design Mode and Add a GridView control from the Toolbox to the Design surface as shown in image below.

Data Binding in ASP.NET Step-2

3. You will find a smart tag on top of the GridView Control, click that. You will see GridView Task window. Click on Choose Data Source Drop Down Control and Select >




Data Binding in ASP.NET Step-3
4. Once you select that you will get Choose a Data Source Type screen, Select DataBase and click Next.


Data Binding in ASP.NET Step-4
5. Now click New Connection button and Select Microsoft SQL Server and Click Continue button and then Click Next button.



Data Binding in ASP.NET Step-5
6. You need to select your SQL Server Database name in Server Name location. Once you select  the name that will populate all the database in Select or enter a database name: field. Select one database and Click on Test Connection button at you bottom. You will get a confirmation that Test Connection Succeeded. Click OK button twice.



Data Binding in ASP.NET Step-6
7. Now click Next button two time. You will get the following image. Select the table and then the column as shown in image below. Click Next

Data Binding in ASP.NET Step-7
8. You will get the Test Query screen. Now you have the query  just click Test Query button to check you query. To test you query is correct or not. Then Click Finish button.

Data Binding in ASP.NET Step-8
9. Now Run you application in Visual Studio to see the output.

Data Binding in ASP.NET Step-9

How to create Session Timeout alert box and Redirect to Login.aspx page in ASP.NET


ASP.NET allows you to save values by using session state, which is an instance of the System.Web.SessionState.HttpSessionState class, for each active Web Application session. If different users are using your application, each user session will have a different session state. You can use session state to accomplish the following tasks:
  1. Uniquely identify browser or client-device requests and map them to an individual session instance on the server.
  2. Store session-sepcific data on the server for user across multiple browser or client-device requests within the same session.
  3. Raise appropriate session management events. In addition, you can write application code that make use of these event.
So, here is how you can redirect a user who's session time is out. Copy the JavaScript and HTML code in you application.



    

Copy this HTML code in your application.

How to make your Web Application Performance Faster.


Hi, following are the most important thinks to note for Web Application performance:

1. Make fewer HTTP requests
              Decreasing the number of components on a page reduces the number of HTTP requests required to render the page, resulting in faster page loads. Some ways to reduce the number of components include: combine files, combine multiple scripts into one script, combine multiple CSS files into one style sheet, and use CSS Sprites and image maps.

2. Content Delivery Network (CDN)
            User proximity to web servers impacts response times. Deploying content across multiple geographically dispersed servers helps users perceive that pages are loading faster.

3. Add Expires headers
           Web pages are becoming increasingly complex with more scripts, style sheets, images, and Flash on them. A first-time visit to a page may require several HTTP requests to load all the components. By using Expires headers these components become cacheable, which avoids unnecessary HTTP requests on subsequent page views. Expires headers are most often associated with images, but they can and should be used on all page components including scripts, style sheets, and Flash.

4. Compress components with gzip
            Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today's Internet traffic travels through browsers that claim to support gzip.

5. Grade A on Put CSS at top
            Moving style sheets to the document HEAD element helps pages appear to load quicker since this allows pages to render progressively.

6. Put JavaScript at bottom
            JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are deferrable.

7. Avoid CSS expressions
            CSS expressions (supported in IE beginning with Version 5) are a powerful, and dangerous, way to dynamically set CSS properties. These expressions are evaluated frequently: when the page is rendered and resized, when the page is scrolled, and even when the user moves the mouse over the page. These frequent evaluations degrade the user experience.

8. Make JavaScript and CSS external
            Using external JavaScript and CSS files generally produces faster pages because the files are cached by the browser. JavaScript and CSS that are inline in HTML documents get downloaded each time the HTML document is requested. This reduces the number of HTTP requests but increases the HTML document size. On the other hand, if the JavaScript and CSS are in external files cached by the browser, the HTML document size is reduced without increasing the number of HTTP requests.

9. Reduce DNS lookups
            The Domain Name System (DNS) maps host-names to IP addresses, just like phone-books map people's names to their phone numbers. When you type URL www.yahoo.com into the browser, the browser contacts a DNS resolver that returns the server's IP address. DNS has a cost; typically it takes 20 to 120 milliseconds for it to look up the IP address for a host-name. The browser cannot download anything from the host until the look-up completes.

10. Minify JavaScript and CSS
            Minification removes unnecessary characters from a file to reduce its size, thereby improving load times. When a file is minified, comments and unneeded white space characters (space, newline, and tab) are removed. This improves response time since the size of the download files is reduced.

11. Avoid URL redirects
            URL redirects are made using HTTP status codes 301 and 302. They tell the browser to go to another location. Inserting a redirect between the user and the final HTML document delays everything on the page since nothing on the page can be rendered and no components can be downloaded until the HTML document arrives.

12.Remove duplicate JavaScript and CSS
            Duplicate JavaScript and CSS files hurt performance by creating unnecessary HTTP requests (IE only) and wasted JavaScript execution (IE and Firefox). In IE, if an external script is included twice and is not cacheable, it generates two HTTP requests during page loading. Even if the script is cacheable, extra HTTP requests occur when the user reloads the page. In both IE and Firefox, duplicate JavaScript scripts cause wasted time evaluating the same scripts more than once. This redundant script execution happens regardless of whether the script is cacheable.

13. Configure entity tags (ETags)
            Entity tags (ETags) are a mechanism web servers and the browser use to determine whether a component in the browser's cache matches one on the origin server. Since ETags are typically constructed using attributes that make them unique to a specific server hosting a site, the tags will not match when a browser gets the original component from one server and later tries to validate that component on a different server.

14. Make AJAX cacheable
            One of AJAX's benefits is it provides instantaneous feedback to the user because it requests information asynchronously from the backend web server. However, using AJAX does not guarantee the user will not wait for the asynchronous JavaScript and XML responses to return. Optimizing AJAX responses is important to improve performance, and making the responses cacheable is the best way to optimize them.

15. GET for AJAX requests
            When using the XMLHttpRequest object, the browser implements POST in two steps: (1) send the headers, and (2) send the data. It is better to use GET instead of POST since GET sends the headers and the data together (unless there are many cookies). IE's maximum URL length is 2 KB, so if you are sending more than this amount of data you may not be able to use GET.

16. Reduce the number of DOM elements
            A complex page means more bytes to download, and it also means slower DOM access in JavaScript. Reduce the number of DOM elements on the page to improve performance.

17. Avoid HTTP 404 (Not Found) error
            Making an HTTP request and receiving a 404 (Not Found) error is expensive and degrades the user experience. Some sites have helpful 404 messages (for example, "Did you mean ...?"), which may assist the user, but server resources are still wasted.

18. Reduce cookie size
            HTTP cookies are used for authentication, personalization, and other purposes. Cookie information is exchanged in the HTTP headers between web servers and the browser, so keeping the cookie size small minimizes the impact on response time.

19. Use cookie-free domains
            When the browser requests a static image and sends cookies with the request, the server ignores the cookies. These cookies are unnecessary network traffic. To workaround this problem, make sure that static components are requested with cookie-free requests by creating a subdomain and hosting them there.
20. Avoid AlphaImageLoader filter
            The IE-proprietary AlphaImageLoader filter attempts to fix a problem with semi-transparent true color PNG files in IE versions less than Version 7. However, this filter blocks rendering and freezes the browser while the image is being downloaded. Additionally, it increases memory consumption. The problem is further multiplied because it is applied per element, not per image.

21. Do not scale images in HTML
            Web page designers sometimes set image dimensions by using the width and height attributes of the HTML image element. Avoid doing this since it can result in images being larger than needed. For example, if your page requires image myimg.jpg which has dimensions 240x720 but displays it with dimensions 120x360 using the width and height attributes, then the browser will download an image that is larger than necessary.

22. Make favicon small and cacheable
            A favicon is an icon associated with a web page; this icon resides in the favicon.ico file in the server's root. Since the browser requests this file, it needs to be present; if it is missing, the browser returns a 404 error (see "Avoid HTTP 404 (Not Found) error" above). Since favicon.ico resides in the server's root, each time the browser requests this file, the cookies for the server's root are sent. Making the favicon small and reducing the cookie size for the server's root cookies improves performance for retrieving the favicon. Making favicon.ico cacheable avoids frequent requests for it.

Recent Posts