473,395 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Transferring control to the top of the page

304 100+
Hi,
Is it possible to transfer the control to the top of the page when a button is clicked at the bottom. Would like to achieve it through code behind.
Thanks,
Gomzi.
Jun 18 '07 #1
3 982
radcaesar
759 Expert 512MB
By Default when a page postback finish, it will go to top of page.

I thought that you want something different to do. Am i not understanding ur question ?

:)

Hi,
Is it possible to transfer the control to the top of the page when a button is clicked at the bottom. Would like to achieve it through code behind.
Thanks,
Gomzi.
Jun 18 '07 #2
gomzi
304 100+
By Default when a page postback finish, it will go to top of page.

I thought that you want something different to do. Am i not understanding ur question ?

:)
Thanks mate.
Ya.Its different. Am using ajax. so the control doesn't go up when the postback occurs. Any idea as to how I could achieve that?

Thanks,
Gomzi.
Jun 18 '07 #3
Frinavale
9,735 Expert Mod 8TB
Thanks mate.
Ya.Its different. Am using ajax. so the control doesn't go up when the postback occurs. Any idea as to how I could achieve that?

Thanks,
Gomzi.
It's not possible with code behind.
You'd have to write JavaScript to do it for you when you click the button.
I have seen code for it on the internet once before. :)
Jun 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: CJ Oxx | last post by:
Is there an easy way to transfer a page POST content to the next page? Right now I read out the POST content in the PHP script and put it in a html form (with POST as content type) as a hidden...
1
by: r_burgess | last post by:
I am looking for some guidance on transferring data between two pages in my ASP.net Web app (intranet). I have a form that will have a button and a text box on it (among other controls of course)...
1
by: hzomorodi | last post by:
Hi, I am trying to find methods/tools that will help me automate the process of manually copying some data from one web page form and pasting them to another. We have to frequently fill out a...
1
by: vikram | last post by:
What is the best way of transferring values from one aspx page to another when user click a button, except response.redirect and server.transfer.
2
by: Rani | last post by:
hi guys I don't know if this is the right place for it but I created 2 pages in page one there is a text box in which the user enters his name, in page 2 there is a the same text box. I would...
2
by: ryan.d.rembaum | last post by:
Hello, I am trying to build a standardized login screen that several different web application could use. What I would like is for the login screen to detect where the user has come from. ...
3
by: JayD | last post by:
(Not sure whether it is a general aspnet problem or a specific security problem, hence posting it in 2 groups). This will solve for us a number of problems. I have developed a website on my...
7
by: esj | last post by:
let me say up front that my experience with JavaScript and "Ajax" interactions has been horrific. There are weeks I will never get back because of it. Whenever I encounter something so horrific...
4
by: G | last post by:
Hello, I have a "two page form" - Page1.aspx and Page2.aspx. I have a function in my Page1.cs file called Button_Click. A simple version: ************************ if (Page.IsValid) {
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.