Anchor
I have a page where the user enters his details and then clicks the save button. If there are errors in the user's details a repeater appears at the bottom of the page with the list of errors. I want the scrollbar to be positioned where the repeater is as otherwise the user might not notice the repeater. Where must i put the line Response.Redirect("paydetails.aspx?#anch")? I have tried putting it in a few places in my code but i was not successful. aspx.vb Private Sub SaveOrderData() 'update fields If Order Is Nothing Then Response.Write("No Order") Exit Sub Else Order.PayOrderType = CType(drpCPay.SelectedValue, YBayTools.PayOrder.PayOrderTypeEnum) Order.CardType = drpCCType.SelectedItem.Value End If Order.ValidateValues = False If Not Order.Validate() Then Repeater2.DataSource = Order.ErrorDescription() Repeater2.DataBind() Exit Sub Else Repeater2.Visible = False End If If Not Order.SaveOrder Then Session("sysError") = Order.strSysError Response.Redirect("sysError.aspx") Else PopulateFields() End If End Sub aspx: <a name="anch"></a> <TABLE id="Table2" style="Z-INDEX: 101; LEFT: 336px; POSITION: absolute; TOP: 500px" cellSpacing="1" cellPadding="1" width="300" bgColor="#ffff33" border="1"> <asp:repeater id="Repeater2" runat="server"> <HeaderTemplate> <tr> <td align="center" dir="rtl" bgcolor="#ff3333"><font color="#0033cc" size="4"> נמצאו שגיאות בהקלדת נתונים. <br> להלן רשימת השגיאות:</font> </td> </tr> </HeaderTemplate> <ItemTemplate> <TR> <TD align="right" dir="rtl"><font color="#0033cc"><%#Container.DataItem%><br> </font> </TD> </TR> </ItemTemplate> </asp:repeater></TABLE> </body>