Within my MVC Asp.net project, I have a repeater enclosed in a panel. Although the scroll bar is visible, the table within seems to adjust its size horizontally to fit inside the panel rather than overflowing beyond it.
The scrollbar is displayed but remains non-functional.
<asp:Panel ID="pnlMultipleBeneficiaries" ScrollBars = "Horizontal" style="overflow:scroll" runat=""server" >
<div class="section" >
<fieldset>
<legend class="labels">Added Beneficiaries</legend>
<asp:Repeater ID="rptMultipleBeneficiaryDetails" runat="server">
<HeaderTemplate>
<table border = 1>
<tr>
<td class="labels displayInput_noWidth">First Name</td>
<td class="labels displayInput_noWidth">Last Name</td>
<td class="labels displayInput_noWidth">Status</td>
<td class="labels displayInput_noWidth">Birthday</td>
<td class="labels displayInput_noWidth">Parent</td>
<td class="labels displayInput_noWidth">Street</td>
<td class="labels displayInput_noWidth">City</td>
<td class="labels displayInput_noWidth">Province</td>
<td class="labels displayInput_noWidth">Postcode</td>
<td class="labels displayInput_noWidth">Country</td>
<td class="labels displayInput_noWidth">Phone Number</td>
<td class="labels displayInput_noWidth">HasReplied</td>
<td class="labels displayInput_noWidth">Something Else</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%#DataBinder.Eval(Container.DataItem, "BeneficiaryFirstName")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "BeneficiaryLastName")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "BeneficiarySin")%></td>
<td><%#DateTime.Parse(DataBinder.Eval(Container.DataItem, "BeneficiaryBirthday").ToString()).ToString("MM/dd/yyyy")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "Parent")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "Street1")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "City")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "ProvinceAbbreviation")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "Postcode")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "CountryDescription")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "HasReplied")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "IsGrantApplicationFormReceived")%></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</fieldset>
</div>
</asp:Panel>
I attempted using style="overflow:auto" on the panel with no success. Any assistance would be greatly appreciated.