I am having an issue with my aspx page where I need to call a repeater. The problem is, I want to have a fixed-sized page while keeping the scroll inside of the repeater. How can I achieve this?
The div in my ASP wouldn't accept the overflow-y option because it's not supported in CSS2.1 and using the overflow option gives me both vertical and horizontal scrolls!
<asp:Repeater ID="TheRepeater" runat="server" OnItemDataBound="TheRepeater_OnItemDataBound" EnableViewState="true" EnableTheming="true">
<HeaderTemplate>
<div style="overflow-y: scroll; margin-top:5px; margin-left:5px; min-height:15px; ">
</HeaderTemplate>
<ItemTemplate>
<div >
<%#DataBinder.Eval(Container.DataItem, "Object")%> -
<%#DataBinder.Eval(Container.DataItem, "AssignedTo")%>
</div>
</ItemTemplate>
<FooterTemplate>
</div>
</FooterTemplate>
</asp:Repeater>