Hi there,
I hope this the correct place to post… I have a website that was developed and deployed live already and I have now discovered that the vertical scrolling draws ugly lines across the list box contents when you use the scroll bar. It looks terrible.
Have you seen this before? Any pointers on where I can look or fix this?
I think I have found where the code is implemented that generates the list box and have put some extracts of this code below.
…
private void LoadData() {
var searchDescription = Session[“searchDescription”].ToString();
var searchAvailability = Session[“searchAvailability”].ToString();
this.Pag.Order = Request.QueryString.Get(“order”) ?? string.Empty;
…
var html = new StringBuilder();
var newList = new List<ReportRow>();
foreach (var abstractSupplierInfo in lst) {
abstractSupplierInfo.CountSearch++;
newList.AddRange(AddRowSupplier(abstractSupplierInfo));
}
switch (Pag.Order) {
case "0":
case "":
…
}
if (newList.Count == 0) {
this.ltResult.Text = "<div class=\\"results_list\\"><div class=\\"result_item\\"><table width=\\"100%\\" border=\\"0\\" class=\\"table_results{0}\\"><tr><td class=\\"supplier_name_results\\"><div class=\\"ResultEmpty\\">Your search has returned no results</div></td></tr></table></div></div>";
} else {
foreach (var reportRow in newList) {
html.Append(AddRow(reportRow));
}
this.ltResult.Text = "<div class=\\"results_list\\">" + html.ToString() + "</div>";
}
Then in the actual .aspx file generates the page with some code like:
<table width=“100%” border=“0” class=“titles_table”>
<tr>
<td id=“checkbox_title”>
<div id=“checkbox_icon”>
</div>
</td>
<td id=“supplier_title”>
<h5>
<asp:hyperlink id=“HyperLink12” runat=“server” cssclass=“filter_selected” navigateurl=“results.html?order=1”>Supplier</asp:hyperlink></h5>
…
</tr>
</table>
<asp:literal id=“ltResult” runat=“server”></asp:literal>
Ideas?
Live site is here: http://www.bristrades.com.au. Scrolling issue is on the Results page (after you submit a search).
Thank you for reading and considering this. Any insights are greatly appreciated.