Page loosing CSS Style after updating master page Controls
<p>ASP.3.5 No AJAX</p>

<p>Master page has a external style sheet. It has 2 dropdownlists in top section.</p>

<p>When a new item is inserted, a value is added to each of the dropdownlists. The newly added value has to be selected in the dropdownlists.</p>

<p>From my content page I update the dropdownlists on the master page. The dropdownlists are getting updated correctly, but I am loosing the CSS styles.</p>

<p>Here's my Masterpage.aspx code</p>

<pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;My Project&lt;/title&gt;
    &lt;link href="StyleSheet.css" rel="stylesheet" type="text/css" /&gt;
    &lt;asp:ContentPlaceHolder ID="head" runat="server"&gt;
    &lt;/asp:ContentPlaceHolder&gt;
&lt;/head&gt;
&lt;body&gt;
</code></pre>

<p>Here' my content page code:</p>

<pre><code>protected void formview_ItemInserted(object sender, FormViewInsertedEventArgs e)
{
    if (e.Exception == null)
    {
        //Force the dropdownlistboxes in the master page also selects the newly inserted First
        DropDownList ddlFirst = Master.FindControl("ddlFirst") as DropDownList;
        if (ddlFirst != null)
        {
            ddlFirst.DataBind();
            Response.Write(ddlFirst.SelectedValue = Session["sFirstID"].ToString());
        }
        DropDownList ddlSecond = Master.FindControl("ddlSecond") as DropDownList;
        if (ddlSecond != null)
        {
            ddlSecond.DataBind();
            Response.Write(ddlSecond.SelectedValue = Session["sSecondID"].ToString());
        }

    }
}
</code></pre>

<p>What am I doing wrong?</p>
