Dropdowlist in Gridview footer not populating
<p>I have the following code for populating a dropdownlist in my gridviews footer.</p>

<pre><code>        if (!IsPostBack)
        {

            GridViewRow FooterRow = (GridViewRow)grdTime.FooterRow;

            if (FooterRow != null)
            {
                QuartersTableAdapter Quarters = new QuartersTableAdapter();

                DropDownList ddMonStart = (DropDownList)FooterRow.FindControl("ddMonStart");

                ddMonStart.DataSource = Quarters.GetQuarters();
                ddMonStart.DataTextField = "QuarterHour";
                ddMonStart.DataValueField = "QuarterHour";
                ddMonStart.DataBind();
            }
        }
</code></pre>

<p>Now I have done this in another application, and it works fine, but in this instance, nothing it being bound to the dropdown list, because FooterRow is never not Null.</p>

<p>Anyone know why footerRow may not be available?</p>

<p>Thanks</p>
