473,386 Members | 1,812 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,386 software developers and data experts.

My Page Keeps Moving Up. How to Solve this?

Hello,

I have in my page a few Asp:ImageButtons and a few Asp:Panels.

When a button is pressed the function Show_Hide is called and a panel
visibility is set to true or false.

The problem is that the page moves up every time I do that.
Like it has been reloaded.

Is it possible to solve this?

Thanks,
Miguel

Nov 19 '05 #1
2 1460
Pat
Try setting :-
smartnavigation = true
in you page directive
Hope that helps
Patrick

"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:OQ*************@TK2MSFTNGP15.phx.gbl...
Hello,

I have in my page a few Asp:ImageButtons and a few Asp:Panels.

When a button is pressed the function Show_Hide is called and a panel
visibility is set to true or false.

The problem is that the page moves up every time I do that.
Like it has been reloaded.

Is it possible to solve this?

Thanks,
Miguel

Nov 19 '05 #2
thats because it has been reloaded. pressing yourr hide button posts back to
the server, then runs your server code and the output is reloaded. you can
use client code instead, which does not require a postback.

-- bruce (sqlwork.com)

"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:OQ*************@TK2MSFTNGP15.phx.gbl...
Hello,

I have in my page a few Asp:ImageButtons and a few Asp:Panels.

When a button is pressed the function Show_Hide is called and a panel
visibility is set to true or false.

The problem is that the page moves up every time I do that.
Like it has been reloaded.

Is it possible to solve this?

Thanks,
Miguel

Nov 19 '05 #3

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

Similar topics

4
by: deko | last post by:
I can't move a multi-page report to the last record unless I keep the popup form (that defined it's subreports) open. DoCmd.OpenReport "rptStandard", acViewNormal DoCmd.Close acForm,...
4
by: William Wisnieski | last post by:
Hello Everyone, Access 2000 I have a form with multiple pages on it. There is one text field on the third page of the form that I need the user to complete before leaving the form or moving...
7
by: =?Utf-8?B?TW9iaWxlTWFu?= | last post by:
Hello everyone: I am looking for everyone's thoughts on moving large amounts (actually, not very large, but large enough that I'm throwing exceptions using the default configurations). We're...
3
by: DanWeaver | last post by:
New to asp. using VS2005. I have an HTML page with various elements and moveable graphics- when I make an asp action (selecting some rows from a sql dbase) the whole page is refreshed and I lose...
2
by: =?Utf-8?B?c3R1ZGVudA==?= | last post by:
I am struggling with this asp page. I need to solve this as part of a class project. It is designed to simply read a SQL table and display the data in the browser. But it will only show one record...
13
by: Justin.Voelker | last post by:
Hello Everyone: I am in search of an easier way to develop pages. My most current website, www.Base2WebDesign.com, has the exact same layout throughout the entire site. Right now I use a...
2
by: Amit Dedhia | last post by:
Hi I am developing a scientific application which has moderate level image processing involved. In my application, there is a main application form which invokes another form. When this form...
6
by: RoseW | last post by:
This is a collection of images with its own style sheet to create the hover over the thumbnail and the larger image appears. http://www4.webng.com/chesleyhs/images/planting/Planting.html Narrow...
15
by: mcjason | last post by:
I saw something interesting about a grid pair puzzle problem that it looks like a machine when you find each that work out the way it does and say with all the others that work out the way they...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.