emptydatarowstyle is not working
<p>I have a <code>emptydatarowstyle</code> that doesn't seem to be working.  When the GridView is empty. I'm trying to hide the white border around this:</p>

<p><img src="http://i.stack.imgur.com/DxW5a.jpg" alt="enter image description here"></p>

<p>Code:</p>

<pre><code>&lt;emptydatarowstyle  BorderStyle="None" BorderWidth="0px" /&gt;

                    &lt;emptydatatemplate&gt;

                    No Dates Found for this experience at this current time.  Please try again.

                    &lt;/emptydatatemplate&gt; 
</code></pre>

<p>EDIT:</p>

<p>ASPX:</p>

<pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="book.aspx.cs" Inherits="chinatownexperience.book" %&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;&lt;/title&gt;
    &lt;link href="css/main.css" rel="stylesheet" type="text/css" /&gt;

&lt;!-- Put the following javascript before the closing &lt;/head&gt; tag. --&gt;
&lt;script type="text/javascript"&gt;
    (function () {
        var cx = '000935526448861961589:s0c0yzdtfao';
        var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
        gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
    })();
&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div id="body-1"&gt;
        &lt;div id="topblank"&gt;
                &lt;div class="top-1-1"&gt;&lt;a href="experiences.aspx"&gt;&lt;img onmouseover="this.src='images/myexperience-on.png'" onmouseout="this.src='images/myexperience.png'" src="images/myexperience.png" width="111" height="23" alt="My Experience" /&gt;&lt;/a&gt;&lt;/div&gt;
                &lt;div class="yellowsquare"&gt;&lt;/div&gt;
                &lt;div class="top-1-2"&gt;&lt;a href="loginpublic.aspx"&gt;&lt;img onmouseover="this.src='images/login-on.png'" onmouseout="this.src='images/login.png'" src="images/login.png" width="49" height="23" alt="Login" /&gt;&lt;/a&gt;&lt;/div&gt;
                &lt;div class="yellowsquare"&gt;&lt;/div&gt;
                &lt;div class="top-1-3"&gt;&lt;a href="register.aspx"&gt;&lt;img onmouseover="this.src='images/register-on.png'" onmouseout="this.src='images/register.png'" src="images/register.png" width="62" height="23" alt="Register" /&gt;&lt;/a&gt;&lt;/div&gt;
                &lt;div class="top-2-google"&gt;&lt;gcse:searchbox-only&gt;&lt;/div&gt;
        &lt;/div&gt;

        &lt;div class="center"&gt;
            &lt;div class="navhome"&gt;&lt;a href="index.aspx"&gt;&lt;img src="images/menu-home-button-off.png" width="81" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navaboutus"&gt;&lt;a href="aboutus.aspx"&gt;&lt;img src="images/menu-aboutus-button-off.png" width="105" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navexperiences"&gt;&lt;a href="experiences.aspx"&gt;&lt;img src="images/menu-experiences-button-on.png" width="129" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navgetinvolved"&gt;&lt;a href="getinvolved.aspx"&gt;&lt;img src="images/menu-getinvolved-button-off.png" width="130" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navsupportus"&gt;&lt;a href="supportus.aspx"&gt;&lt;img src="images/menu-supportus-button-off.png" width="128" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navcontactus"&gt;&lt;a href="contactus.aspx"&gt;&lt;img src="images/menu-contactus-button-off.png" width="132" height="54" alt="Home" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="navmenuend"&gt;&lt;img src="images/menu-end.png" width="8" height="54" alt="menu end" /&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;div class="line"&gt;&lt;hr /&gt;&lt;/div&gt;

        &lt;div class="centergrid"&gt;
            &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                DataSourceID="SqlDataSource1" CssClass="bookgridview"&gt;

&lt;%--                &lt;emptydatarowstyle  BorderStyle="None" BorderWidth="0px" /&gt;--%&gt;

                    &lt;emptydatatemplate&gt;

                    Unfortunately, this Experience is currently fully booked. Please try again later for availability.

                    &lt;!-- &lt;div id="filler"&gt;&lt;/div&gt;  --&gt;

                    &lt;/emptydatatemplate&gt; 

                &lt;Columns&gt;
                    &lt;asp:BoundField DataField="TName" HeaderText="Experience" SortExpression="TName" /&gt;
                    &lt;asp:BoundField DataField="SDate" HeaderText="Date" SortExpression="SDate" DataFormatString="{0:d}" /&gt;
                    &lt;asp:BoundField DataField="STime" HeaderText="Time" SortExpression="STime" /&gt;
                    &lt;asp:BoundField DataField="TDuration" HeaderText="Duration (approx)"
                        SortExpression="TDuration" /&gt;
                    &lt;asp:BoundField DataField="TPriceadult" HeaderText="Adult" 
                        SortExpression="TPriceadult" DataFormatString="{0:C}"  /&gt; 
                    &lt;asp:BoundField DataField="TPricesenior" HeaderText="Student/Senior" 
                        SortExpression="TPricesenior" DataFormatString="{0:C}"  /&gt; 
                    &lt;asp:BoundField DataField="TPricechild" HeaderText="Child" 
                        SortExpression="Tpricechild" DataFormatString="{0:C}"   /&gt; 

                    &lt;asp:BoundField DataField="ScheduleId" HeaderText="ScheduleId" 
                        SortExpression="ScheduleId"  Visible="False" /&gt;
                    &lt;asp:TemplateField&gt;
                    &lt;ItemTemplate&gt;
                         &lt;asp:HyperLink ID="lnkSelect" runat='server' NavigateUrl='&lt;%# String.Format("~/bookingform.aspx?ID={0}", Eval("ScheduleId")) %&gt;'&gt;Book&lt;/asp:HyperLink&gt;
                    &lt;/ItemTemplate&gt;
                    &lt;/asp:TemplateField&gt;
                &lt;/Columns&gt;
            &lt;/asp:GridView&gt;

            &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="&lt;%$ ConnectionStrings:ChinatowndbConnString %&gt;" 
                SelectCommand="SELECT * FROM [vwSchedule] Where TourId=@tid"&gt;

                &lt;SelectParameters&gt;
                    &lt;asp:QueryStringParameter DbType="Int32" Name="tid" QueryStringField="tourid" /&gt;
                &lt;/SelectParameters&gt;
            &lt;/asp:SqlDataSource&gt;

        &lt;/div&gt;

        &lt;div id="bottomspace"&gt;&lt;/div&gt;
        &lt;div class="line"&gt;&lt;hr class="top" /&gt;&lt;/div&gt;             


    &lt;/div&gt;

    &lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>CSS:</p>

<pre><code>.bookgridview 
{
    float: left;
    width: 836px;
    border: 1px solid white; 
    padding: 0px 0px 0px 0px;
    font: 14px "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    color: #FFFFFF;  
}

.bookgridview td {   
    padding: 2px;   
}

.bookgridview th {   
    padding: 2px;    
}
</code></pre>

<p>Regards
Tea</p>
