Posted on: 9/9/2015 10:32:49 AM | Views : 816

Hello All,
I have div which contains repeater (In repeater I am creating the link buttons with file name). However, I want to add the scroll bar to div without specifying the height.
So, how can I do this. I have tries by specifying height as 200 px it is working, but if ONLY 1 link button created rest of the space/height is still captured and shown in white/grey color. I don't want to do in this way.
my code aspx is like this
<div> some div content </div> <div style="overflow:scroll; height:200px;"> <asp:Repeater ID="rptAttachments" runat="server" OnItemDataBound="rptAttachments_ItemDataBound" > <ItemTemplate> <table> <tr> <td> ...

Go to the complete details ...