473,503 Members | 3,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AutoPostBack send my page back to the top, how do you fix that?

SD
Hi,

I have a asp.net (vb) that has a lot of fields and somewhere in the bottom
of the page I have a RadioButtonList with AutoPostBack set to true so we can
enable/disable other controls.

The problem is that when this happens the user is sent to the beginning of
the page and needs to scroll down, it's a pain!

How can you set a marker or how do you control this behavior so that it goes
back to where the user was before he/she clicked the button list?

Thanks for your help!

SD
Nov 21 '05 #1
1 1284
SD wrote:
Hi,

I have a asp.net (vb) that has a lot of fields and somewhere in the bottom
of the page I have a RadioButtonList with AutoPostBack set to true so we can
enable/disable other controls.

The problem is that when this happens the user is sent to the beginning of
the page and needs to scroll down, it's a pain!

How can you set a marker or how do you control this behavior so that it goes
back to where the user was before he/she clicked the button list?

Thanks for your help!

SD


You will have to use javascript to do this. I don't know the command to
jump down the page off the top of my head, but you'll have to mark each
radiobutton and then use the javascript command to make the jump.

Chris
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1850
by: Vinod Kumar | last post by:
Hi All, I have a ASP.NET page with lots of web controls. Hence I have a vertical scroll bar coming (which is natural ofcourse). The problem is I have a checkbox button at the bottom of the...
1
392
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the...
2
1548
by: SD | last post by:
Hi, I have a asp.net (vb) that has a lot of fields and somewhere in the bottom of the page I have a RadioButtonList with AutoPostBack set to true so we can enable/disable other controls. The...
3
3038
by: Lloyd Sheen | last post by:
I have a page that works fine. I am trying to optimize the page by overriding some of the Information that is being saved in the hidden VIEWSTATE. If I make the properties of the dropdown False...
8
9336
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
7
6390
by: Ron | last post by:
Hello all, I don't understand why my pageis not posting back to the server when I change the selection on a radio list. I have a page that both accepts new personal info. or allows editing to...
2
5474
by: rdb | last post by:
VB.NET web program with a webform w/2 dropdownlistboxes, set to AutoPostBack TRUE, selection in either dropdown fires the SelectedIndexChanged events correctly UNTIL I navigate to second webform in...
2
2631
by: Bob Peek | last post by:
I have created a master page with a single asp:button that posts the page without page validation. On the content page, I have a variety of asp controls including text box, drop down list...
4
2342
by: Sarita Sai Bhushan | last post by:
Hi, While I was developing a active desktop web page in ASP.Net using server controls I faced a problem with the autopostback property of server control. The sever control I used in my aspx page...
1
2084
by: danyeungw | last post by:
I get the following from the link http://support.microsoft.com/kb/314206. I need to have both work - the page stays where it is and set focus to next control. Does anyone have solution? I have...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.