8

How to maintain the scroll position after launching in the Web application creat...

 3 years ago
source link: https://www.codesd.com/item/how-to-maintain-the-scroll-position-after-launching-in-the-web-application-created-in-visual-studio-2003.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to maintain the scroll position after launching in the Web application created in Visual Studio 2003

advertisements

Is there a way to maintain scroll position after a postback in visual studio 2003.

In visual studio 2005 I can achieve this by setting MaintainScrollPositionOnPostback attribute of page directive to true.

How can I do this without setting location.href property???


If you are in the 1.1 Framework, you're looking for SmartNavigation. It's deprecated for the MaintainScrollPositionOnPostback in 2.0. Don't get your hopes up, it's mediocre at best. :)

Related Articles

How to refresh the branches (local / remote) in Visual Studio when using Git?

Summary I am learning how to use Git with Visual Studio. I recently did a pull request where the feature branch was deleted after the merge. The feature branch still shows up in my local and remote branches in Visual Studio. I know how to right click

How to deploy a Web application directly from Visual Studio 2008?

I used to use discountasp.net and I can use Visual Studio 2008 to "publish" the website directly to the web host. I am using a dedicated server now (well, to be exact, Amazon EC2 Windows), how should I setup the web server so I can deploy the we

Install the Windows service created in Visual Studio

When I create a new Windows Service in Visual Studio 2010, I get the message stating to use InstallUtil and net start to run the service. I have tried the following steps: Create new project File -> New -> Project -> Windows Service Project Name:

How to remove the duplicate class template in Visual Studio 2015

When I select menu add - new item in my project on solution explorer in Visual Studio 2015 and want select new class template i see duplication this template. How to fix it?Besha, I've encountered the same problem, which as I'm sure is caused by Xama

How to fill the web application with the initial data

I am writing web application and am wondering what the recommended way is to populate initial data. This is JPA/Hibernate and Spring application and is built by maven. Up to now I've used script wich populate database with initial data, started by ha

How to customize the web application (pages and UI) for different clients

We have an ASP.NET web-application which has become difficult to maintain, and I'm looking for ideas on how to redesign it. It's an employee administration system which can be highly customized for each of our customers. Let me explain how it works n

how to add the mysql data source in Visual Studio 2012 Express for the web

i'm trying to add mysql connection to my asp.net mvc 4 projects but i dont see it on the data source window. after installing visual studio 2012 express for web i added mysql Connector/Net through nuget. i wanted to add new connection to mysql db but

How to change the target API version in Visual Studio Xamarin

My VS worked well before I synchronized my project with my friend's using GitHub. After that, somehow I notice Visual Studio targets different location to android.jar file. So, whenever I compile my code, I receive the following error. Could not find

How to stop the dead-locking right click Visual Studio 2008

I have a very serious problem with Visual Studio 2008. Occasionally when I right-click (for go to definition, set next statement etc) when I'm debugging, Visual Studio will just dead-lock and go into not responding mode. Has anyone had the same probl

How to determine the order of forms in Visual Studio 2013

This may sound like a simple problem but I am having trouble determing the order in which my forms appear whenever it is Debugged (Start/Launch). Lets say I want the login form to appear first before a user can access the admin panel. At the moment,

How to debug the web application based on Node.js

I have been seeking solutions for debugging Node.js based web application from days. I had tried to debug with Eclipse + Chrome debugger plugin but failed, I posted the error in this session 'Failed to get tabs for debugging' when trying to debug Nod

How to run the AngularJS application created using Yeoman

I'm new to AngularJS. I created a sample app using yeoman for AngularJS. The source is hosted on github here https://github.com/Omnipresent/demoangularapp I'm not sure how to run the app? How can I run the app so that it runs on my localhost server a

How to link the libm library in microsoft visual studio 2010

please, could you help me how we link the libm math library in microsoft visual studio 2010, in order to use some trigonometric function in a c program ?It should only be necessary to put #include <math.h> in your program. The following compiles wit

How to highlight the same C ++ variable on Visual Studio 2010

I am using C++ coding editor on Visual Studio 2010. I remember the IDE will help highlight the same variables when I selected a variable.But it doesn't work now. I have enabled the "Auto list members" and "Parameter information" on the

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK