Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 12th, 2008, 04:43 PM
Authorized User
 
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET App Scroll Issue

Imar and book readers:

I have a slight problem with my asp.net application and was wondering if you could help me out.

I have an asp.net ajax application which refreshes messages every 7 seconds via a timer control. I have a literal control wrapped in a div tag which grabs new messages from my sql server database via asp.net ajax. Now in IE, everytime the page refreshes, I have a javascript function which allows the scrollbars of the div to be placed all the way at the bottom, so that the user does not have to rescroll down to the bottom of the div every 7 seconds.. The following is the javascript function that does so (it works..)

function ScrollOnRefresh() {
   var element = document.getElementById("MessagesDiv");
   element.scrollTop = 1000000000;
}

This function will not work in Firefox at all, could someone please help me with the work around for firefox that places the scrollbar all the way to the bottom of the messagesdiv.


thank you,

aspC

 
Old November 13th, 2008, 12:26 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi aspC,

Can you please repost this question in either the Ajax or JavaScript categories here at P2P? Makes it easier for you to get an answer (more people are reading that forum) and easier for future readers visiting the book's forum if they are looking for book-related posts.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old November 14th, 2008, 06:37 PM
Authorized User
 
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar:

I posted it here because it is an ASP.NET issue with ajax and that was in your book. Not sure what forums your talking about in here, most aren't active at all (especially the javascript and ajax books), except yours..


ASPC

 
Old November 14th, 2008, 07:50 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

As far as I can see, it's not related to a Try It Out, the sample site or any other concept explained in the book. I do see it's about AJAX, so I understand why you think you're better off putting it here.

But like I said: there are better categories available, watched by more people which increases your chances on an answer.

Try an AJAX or JavaScript forum in the Web Category here:
http://p2p.wrox.com/web-2-0-mashups-other-web-programming-449

or one the ASP.NET forums in the ASP.NET category:
http://p2p.wrox.com/asp-net-asp-12

Many of these forums are pretty busy with lots of visitors waiting to help you out.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net 2.0 Gridview control vertical scroll bar kulkarnimonica ASP.NET 2.0 Professional 2 March 8th, 2010 08:14 AM
ASP.NET Ajax Scroll Issue aspcoder BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 November 13th, 2008 06:03 PM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
post xml data from ASP.NET app to ASP app polekat Classic ASP Professional 2 January 31st, 2007 08:44 AM
how to add scroll bars in asp.net listbox control DARSIN General .NET 3 January 26th, 2006 11:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.