AJAX :: Drag A Module The Page Starts Auto Scrolling To The Top Of The Page?
Nov 17, 2010
we have implemented the ajax drag and drop which is working fine on all browsers except for chrome, In chrome when i try to drag a module the page starts auto scrolling to the top of the page.
I am developing website using ASP.NET, C# and JScript. I have the webpage with List view, and the list view items are added dynamically. I am working with Drag and Drop in the listview, I have done the Drag and Drop functionality using javascript, But that is not scrolling up and down when we have more values in the list view. automatic scrolling in the List view control when we drag the Items on List View
I need to move rows order inside a GridView. Recently I tested the following code :
[URL]
This is working perfectly on FireFox, Google Chrome, Safari. But I noticed a strange behavior with Internet Explorer.
On the others browsers (FireFox, Google Chrome, Safari) when having a very long page (gridView larger than browser page viewport), I could drag the row passed down the browser viewport and then browser automaticly scroll down the page to allow me to reach a lower gridview row. However on Internet Explorer that does not work ! The page does not automaticly scroll, Nothing happens. And it is not possible to do scroll it manually with the mouse wheel during dragging operation.
Is there a workaround that achieve the same behavior as others browser ?
I have to use auto complete extender in .master page The problem i am facing is, the copy of ServiceMethod should exists in each and every page then only the autocomplete extender is working.
Is it possible to have the code only in .master page, if so how it is. I tried with webservices also but not working.
I'm using ajax autocomplete extender(from database). Its working fine in content page. But its not working in Master Page. I'm using VS2008. I'm using webservice...
i have create an asp.net webapplication for which it has a master page with a 1280x1024 image as background,
so the whole application is within the 1280x1024 resolution, the thing is i tried to open the application from an ipad and when i am trying to scrolldown it shows me hell.it keeps pulling up....
i.e, when i try to scroll down, the page pulls up back again..I dont know whats causing this ...
I have a page with three tables, three charts and some other stuff. When I scroll up or down on the page it tries to jump to some other places, scrolling is not smooth. After a few minutes I also get this error popup: Error: Sys.WebForms.PageRequestManagerServerErrorException: The underlying connection was closed: An unexpected error occurred on a receive. The same behavior is noted on all pages with charts.
When i drag my table into any asp page inside the Visual Web Developer aspx page, Nothing happen, Even there is no datasource or gridView it just the blank page i created.
I tried to create new web forms and all same results i got.
How is a page kept where the user last clicked, instead of scrolling back to the top?
I have a page of controls, the user scrolls down to three dropdownlists to fill out, but when he clicks the first one, the page always scrolls back to the top, and he must scroll back down to the dropdownlists again.
I'm using an asp.net user control with a tree view. When I load the page I want to scrool the user control to the selected node in the tree view. I'm using js function .ScrollIntoView(true). But this is scrolling the entire page (not only what is inside the user control)
here's my code
[code]...
How can I keep the parent page scroll position but continue to set user controll position where I want?
I'm building an ASP.NET MVC site where I want one of the Views I return to be automatically scroll to a certain point.The part of the site where I want this to occur works sort of like a forum - there are "threads" that contain "posts". A user can either browse to the whole paginated thread or can browse to a specific post, using its ID. When a user browses to a specific post, I want to show the regular thread interface, then browse to the page that the post is on and scroll down to the post.
Is it possible to somehow automatically scroll down to a certain point when returning a View from an action in an ASP.NET MVC site? If so, how do I do this?NOTE: One solution to this problem that I've found is how Stack Overflow and the other Stack Exchange sites do it: each answer to a question can be linked to by adding #ID to the URL. If it's impossible to automatically scroll down when returning a View, I would implement this instead, but I don't understand how to use such an approach when there are multiple pages and the post in question isn't on the current page.UPDATE:Based on Chris' answer, I'm currently planning to implement it with the URL looking like this: example.com/forum/[ForumID]/thread/[ThreadID]/post/[PostID]#[PostID]. In my Action, I figure out what page of the Thread the Post is on, and then I return all the Posts from that page to the View.However, I noticed something special in how Stack Overflow solves this problem. Try going to: http://meta.stackoverflow.com/questions/57170 - it ends up sending you to http://meta.stackoverflow.com/questions/57155/gravatar-bugs-and-improvements-in-chat/57170#57170.
I have two grids on a page that seem to always be position:fixed.I want them to scroll with the page when an overflow scrollbar appears on the body. The grids however ALWAYS stay in the same place and don't scroll with the rest of the page content.Is there any way to get an UltraWebGrid to be relative and scroll up the page with the rest of the page's content?This seems to work in IE6 but not in IE8.
I am using gridview in my aspx page. In that i have placed questions and related link button with text viewAnswer.Bellow that gridview i have olaced a lable . When i click on viewanswer the answer apear on lable. but here i want that the user can view lable at first sight. for that how can i provide dynamic verticle scroll to my page target as lable..
I have developed a website in asp.net,c#. Its pages are not scrolling through arrow keys (Up/Down) in google chrome. They are working well in IE and firefix mozilla. I also have no problem in my admin control panel. Admin control pages are scrolling through arrow keys in google chrome, IE and firefox mozilla. What i should do to scroll my website pages through arrows keys in google chrome.
I have a HTTP module that I have written that needs to access the session. I have done the following:Module is registered in web.config Module attaches my method call to the PostAcquireRequestState event The module implement IRequiresSessionState However, when my page doesn't have an extension (i.e. as when htp://www.mywebsite.com) the session is not available and my code fails. If the page does have an aspx extension then all is ok.
Is there a jQuery technique to select all the page controls/divs with a non-zero scrollbar position?
I'm trying to solve a problem faced by many; essentially after a partial asp.net postback all the controls/divs that had a scrollbar with a non-zero value (ie: were scrolled down to some position) are reset to the zero (top of the scrollbar).
My approach is to have a jQuery script save all the scrollbar positions for all the controls/divs contained on a page and after the postback, restore all the scroll bar positions.Is it possible, can it even work? If it is, how do I use jQuery to select all the divs with scrollbars and then save those positions.
i have two web aplications running on different sites.
1. site gets user information and show another website (2. site) in an i frame. but when i do this 2. site session starts again on every page.postback . if i connect to 2. site without 1. site everything works well.
I've used the UrlRewriting.Net module for a couple years now without any problems in Windows XP and Windows 2003. I just recently upgraded my home PC to Windows 7 and started developing a new website.The plan was to use .html extensions and rewrite them to their .aspx counterparts using the UrlRewriting.Net module. Everything works flawlessly in VWD 2008, but when I try running it through IIS7 it is a different story.
When I try to access a page via the .html rewrite I can no longer access Page.User; it keeps returning null. If I hit the page using it's .aspx extension, Page.User is correctly populated. I should also mention that I have a LoginView controller in my Master Page and it suffers from the same symptoms: When accessing via .html extension it shows the AnonyousTemplate; When using .aspx extension it properly shows the LoggedInTemplate. I'm guessing the two are related.
[Note: I've also tried extensionless URLs and they exhibit the same problem]
The only way I've gotten it to work is to switch the application pool to Classic, which then requires me to add an ASP.Net ddl handler for the .html extension [otherwise it is handled by the StaticFileHandler and comes up as a 404 error]. However, I'd like my web app to run properly for people without having to fiddle around with IIS.So I am left with several questions:Does anyone have ideas as to why Page.User always equals null for .html => .aspx rewritten pages?
Why does it work in VWD 2008, but not IIS7?
What changed from IIS6 => IIS7 that could have caused this?
[Note: I just tried a .aspx => .aspx rewrite and it did not exhibit the problem. Not really what I want, but thought I should mention it.]
For example when a user enters www.homeforhire.com they should be redirected to default.aspx (for operational reasons the user is then redirected to www.homeforhire.com/home.aspx).
Instead an error is caught in the Rewrite module (which should not be activated). I am using an http module to perform URL rewriting.
It appears as if the default document setup is not working correctly, and the requested page ~/ is being sent to the Rewrite module, causing an error (which is then caught by my error handler and the user is redirected to the home page).
Entering www.homeforhire.com/default.aspx works correctly.
Can anyone tell me why the default document settings in the web.config do not appear to be working?