Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

addHandler/DomEvent/get>Locatuonj performance issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sergei Shelukhin - 31 Oct 2007 10:23 GMT
Hi. We have a performance issue with the  keyup handler that is
attached to a textarea control using $addHandler  when the page loads.

Every time the user presses a key in textarea, DomEvent object is
built and for some reason getLocation method gets called. This method
is rather slow and typing in this textbox lags considerabley because
of this if you typoe fast enough.

Why would getLocation be called for a keyboard event and how do we
turn it off?
Sergei Shelukhin - 31 Oct 2007 10:39 GMT
Debugging ASP.NET AJAX source showed that it calls getlocation efor
every event that has target, including the keyboard events 0_o.
Looks like we'll have to resort to homebrew handlers for such cases

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.