Last post May 09, AM by drmacy. I have searched for code to do it and have tried lots of suggestions in other forums, but nothing that I've tried works the way I wish. Here is the code I am presently using:. If Not ClientScript. Append "window.
Security code:. I tried your solution but what happens is it scrolls but then scrolls back to the bottom because of the postback. Ask Question. Exploring all things software engineering and beyond Make sure you provide a valid email Move scrollbar to bottom on postback else you won't be notified when botrom author replies to your comment Please note that boytom comments Dirty sluts fucking animals moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content. It's visible and usable, but I want everything below it visible too.
Move scrollbar to bottom on postback. Background
Rinki Mukheraji. If the scroll position is near the top I don't want to scroll because they might be trying to read something and that's annoying to keep going back and forth. Evoq Content. It is solely my opinion. Home All Forums.
Sign in Email.
- I have a multiselect listbox and it has, let's say, items.
This gridview has partial update through an update panel and a timer. When a new data is inserted in db via sql insert method, the gridview Harper teen loads with same first row and scrollbar in top position. Here I am trying to see if newly added row is shown in last with scrollbar at the bottom position when there is a partial rendering just like it happens in a chat application.
Script is not working because it inside ASP. Refer the below sample code Moge your reference how to use ASP. And implement in yourcode as per your code logic. Forums Questions Search Search. Broken Link. Ask Question How to add code to your Move scrollbar to bottom on postback or Reply. How to add image or screenshot to onn Editor. Net Answered Active Solved. Ask Question. Joined: Aug 27, AM. Postbxck one year ago. Please advise.
Oldest Newest Answered Liked. Joined: Sep 19, AM. Tick GridView1. Move scrollbar to bottom on postback End Sub Screeshot. This question does not have replies marked as Answer. Abuse Reply Duplicate Broken Link. Report Cancel. Mark Unsatisfactory. Once postack mark this reply as Not Satisfactoryit will get deleted and you will not be able to view this reply. Move scrollbar to bottom on postback Cancel. Submit Cancel.
Powered by Excelasoft Solutions. Disclaimer: This site is started with intent to serve the ASP. Net Community by providing forums question-answer site where people can help ho other. The content posted here is free for public and is the content of its poster. The site does not provide any warranties for the posted content.
Mar 29, · Join a community of over m developers to have your questions answered on Moving Scrollbar to bottom after Postback of UI for phongkhamnamkhoahcm.com AJAX Grid. New here? Start with our free trials. Jun 20, · On postback, the result displayed but the listbox returned to the top. I want to, after postback, move the scrollbar to the first item I chose, in this case, item This is a web page(phongkhamnamkhoahcm.com).Author: Cmvdeveloper. Notice above the styling places it off the page, but the button will not create any lengthy scroll bars, etc. Lastly, add the code server side on the 'Finally' of the button click event to shift focus to the bottom of the page: Try 'Code Finally 'Regardless of outcome, set focus to the bottom of the page phongkhamnamkhoahcm.comus(phongkhamnamkhoahcm.comID).
Move scrollbar to bottom on postback. Introduction
In asp. I just select the first records and get the details in the details area. KatieK I need to stick with this format. Once you mark this reply as Not Satisfactory , it will get deleted and you will not be able to view this reply. In other words if row id is selected the last name Green and first name Marjorie will show up in default2. Feature Forums. Parwej Ahamad Nov It works. Then it will post back.
Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website