Good day EE,
I have a form in ASP.Net that is long enough that it the bottom 4-5 fields would have to be seen by scrolling down (although filling out the form and tabbing forward gets you there as expected).
The issue is that the third to the last field is a drop down list that causes as postback so it can return the proper optoins for the drop down list right below it. When the postback triggers, the page "refreshes" and jumps to the top of the screen. I'm not losing any data, and the customer said they were fine with it, but it annoys me so I'm certain it'll reach that point with them at some point.
Also, rearranging the form is not apparently an option to those who control such decisions.
It is built in ASP.Net. I'm using VB.Net on the backend, but the drop down list and postback are not utilizing backend code, so it is all on the .asp page.
Code for both drop down lists is shown below.
<asp:DropDownList ID="prmFacilityID" runat="server" DataSourceID="SqltblFacility2" DataTextField="FacilityName" DataValueField="FacilityID" AutoPostBack="True"> </asp:DropDownList>
<asp:DropDownList ID="prmServiceID" runat="server" DataSourceID="dboSelectService"DataTextField="ServiceNameOnly" DataValueField="ServiceID"></asp:DropDownList>