Jeigh
Aug 2 2007, 11:09 AM
| | Probably the most vague title ever, but I have no clue if what I'm thinking even exists and if so, what it would be called haha. So I'm developing an asp .net application and there are pages where I fill in information, hit submit, and I want to just have a report appear beneath that, but then would like to have the screen automatically scroll down to the report rather then having the user have to scroll down each time. I don't want to load a new form if possible just to keep all the input locations and output in one spot in case they want to test multiple values. It won't ruin the design if I can't do this, but figured I'd see if any of you that have more asp/web in general experience know how you'd go about doing this... I have to keep working on the main functionality less I'd toy around with things trying to find it myself  |
Reply
ethergeek
Aug 3 2007, 04:49 PM
QUOTE(Jeigh @ Aug 2 2007, 04:09 AM)  Probably the most vague title ever, but I have no clue if what I'm thinking even exists and if so, what it would be called haha. So I'm developing an asp .net application and there are pages where I fill in information, hit submit, and I want to just have a report appear beneath that, but then would like to have the screen automatically scroll down to the report rather then having the user have to scroll down each time. I don't want to load a new form if possible just to keep all the input locations and output in one spot in case they want to test multiple values. It won't ruin the design if I can't do this, but figured I'd see if any of you that have more asp/web in general experience know how you'd go about doing this... I have to keep working on the main functionality less I'd toy around with things trying to find it myself  If all you really want to do is autoscroll the page, why not do it client side? I'm assuming the report is going to be run on the server and then returned to the client asynchronously, so in that case, just hook the onClick event for your submit object in javascript and change the scrollbar position.
Reply
Jeigh
Aug 3 2007, 05:35 PM
Right, how? haha. I mean I already knew that's the theory behind it, I just don't know how to manipulate the scroll bar, since there is no top level scroll bar property or anything. I'm sure it's something extremely simple I just am missing the specifics and don't feel like hunting through google results for a single word or something that will trigger my memory.
Reply
ethergeek
Aug 3 2007, 06:31 PM
QUOTE(Jeigh @ Aug 3 2007, 10:35 AM)  Right, how? haha. I mean I already knew that's the theory behind it, I just don't know how to manipulate the scroll bar, since there is no top level scroll bar property or anything. I'm sure it's something extremely simple I just am missing the specifics and don't feel like hunting through google results for a single word or something that will trigger my memory. Try this technique: http://www.mediacollege.com/internet/javas...age/scroll.html
Reply
dhanesh
Aug 4 2007, 10:21 AM
Why not use AJAX ? 1) On button click you could set the screen to go lighter and then show your report on the layer above it with a clos option that when clicked returned to the form page. While returning you could set this to either clear all textbox values or just make some labels visible to tell the user that values are already present in the fields, or whatever user interface you would want to make easier for the user. 2) Use a master page and give all your text fields in that. and on button click just join another page to that master. so the look and feel is the same plus this transition is faster. How many fields do you have ? lol dont tell me 50. But i think even 50 fields if arranged the rightway through layers could give you enough space to show your values. If you have a gridview to show them then that makes it much easier. this is just an idea. to implement this idea in real would need you to take many things into consideration, like page size, if edit is enabled then it will bloat up the gridview and make the width scrollable etc .. Regards Dhanesh.
Reply
Jeigh
Aug 4 2007, 02:48 PM
Well, the main reason I didn't use AJAX was because I haven't used it before  Not that I'd be against learning, but basically I have these reports created in microsoft report services (*shudder*) that I need to give them access to, and my boss told me to use what I'm using, so I am haha. Thanks for the link and ideas though, I'll get that working when I goto work on tuesday  (woo long weekends haha)
Reply
Similar Topics
Keywords : auto, screen, position, changing,
- Web Hosting - Changing Hosts With Existing Domain Name
changing hosts (1)
Matte Or Glossy?
The Screen Battle (17) I personally loathe glossy screened computers. I much prefer the original, matte screen which is,
unfortunately, dying. I know people like the higher contrast but poor viewing angles, varying levels
of glare (depending on computer), and inconsistency of colors (a killer for CG artists) are enough
to keep me far, far away. So what do you guys usually do on your computer and thus, which do you
prefer?....
Search Engine Keyword Position
(0) So many keywords, so little time -trying to keep track of your site's ranking for every phrase
can get pretty hectic. That's even more true if you intend to keep tabs on multiple search
engines. Luckily, the Search Engine Keyword Position tool can help. The Search Engine Keyword
Position tool is very easy and simple, you only need to enter your site's address and a key
word or phrase, and it will determine where you stand with Google , Yahoo , and MSN . Best
regards,....
Lcd Screen
dead or stuck pixel, help! (5) Hi. 2 months ago I bought my first LCD screen, went from a 17" CRT to a 20" LCD widescreen and I
was amazed by the beauty of the image/monitor. It arrived with no dead pixels, nor stuck pixels, so
everything was literally perfect, except for the brightness, which was little to bright for my
taste, but nothing that couldn't be fixed with the nvidia control panel. So yesterday I was
playing a PC game, and then I noticed some really small spots on the screen, so I googled for a
pixel checker/fixer software. I found this one that turns your whole screen to a color of y....
Re-ordering Welcome Screen & Moving Heavily Fragmented File
(1) On this computer the two accounts are Lane Family and Toby Lane. Can I move the second to the top
without renaming either, or with some hidden character? Are there any commonly fragmented files
that I can move (say to a usb drive), or should I start worrying about the bios battery or hard disk
or any other parts of this 11-ish year old computer failing?....
Changing Path Of Shared Object
(1) Can anybody tell me how to change the path of shared object default path to any D or E drive.. E.g
: Default path like C:\Documents and Settings\TempName\Application
Data\Macromedia\Flash
Player\#SharedObjects\D8F43EBD\localhost\Temp\Flash1.swf to
D:\Sample Plse reply Thank you ....
Auto Volume Controller For Windows
(0) This is a .NET Application I initially built for my own needs and am now thinking of releasing it as
a shareware. But, before I do that, I thought of getting some valuable feedback from you guys.
Basically, the software turns your system volume up or down attempting to match the sound level
chosen by you. It only works on Microsoft Windows Vista, taking advantage of the new architecture
which allows detection of the volume level. I came across a software that could do something like
this for XP and older operating systems. But, it required sound cards with meter control....
Grand Theft Auto Iv
new game (10) Ok the new game of grand theft auto has finally came out. Tell me what you think of the game. Im
not saying that i got the game but i want to know how the game play is. Compare Grand Theft Auto IV
to Grand Theft Auto San Andreas and Grand Theft Auto vice city. just those three games i want to see
if i should buy it please also Tell me if the graphics our good. thanks and start posting. ....
Auto_increment Jumping About
not sequential numbers (3) Hello, I've been having very strange problems with AUTO_INCREMENT. It will be sequential for
the first 4 or so inserts and display them fine. After 3 or 4 or 5 inserts the FileID, which has the
AUTO_INCREMENT applied to it, will then jump to a seemingly random number like 72, 49207, and so on.
My SQL for the table in question is: CREATE TABLE `IPR` ( `FileID` int(11) NOT
NULL auto_increment, `Filename` varchar(40) NOT NULL, `ContentType` varchar(15)
NOT NULL, `Description` varchar(150) NOT NULL, `Status` ch....
Laptop Auto Starts After Turning It Off
(7) My laptop auto starts after I turn it off. I was told by a friend that an internet signal was the
cause for the laptop to turn itself back on but I already verified that's not the case. Every
time I turn off the computer, I have wait until it starts back and then press and hold on to the
on/off button to turn it off. After I do that it doesn't restarts. Any suggestions?....
Screen Shots
free screen shot thingy (8) http://www.jingproject.com/ its very cool and is for Windows and Mac you onlly need a PC and a
e-mail you can also take vidios through it so yea share your opinions about it
http://www.screencast.com/users/Naro2212/f...e6-d4e7649d9436 ....
Changing A Value From A Textbox
or something. don't exactly how to explain. (6) Hey! I am trying to do the following: A user type his name in a textbox, and press the submit
button. Then, another file checks if the name exist in the database. if it does, the code will
select the id from the database where the username is (SELECT id from username where
username='$textboxvalue') This is the code I am using: CODE <?php
session_start(); require "database.php";
$to=$_POST['message_to']; $ck_reciever = mysql_query("SELECT
username FROM user WHERE username = '".....
Auto-click Script
(7) I wanna know how to make a "auto-click" script in web browser.... i want it to do this: I am on a
web page...I have 3 options to click....so i want it to click one,after it reloads it waits for 25
seconds and clicks 2nd,and again waits to reload and that 25 seconds and clicks 3rd option... is it
possible to create that kind of script?it would be better if it was executable program so u can set
it where exactly it should click... if you don't understand some of things i said tell me and i
will "translate" it into English XD....
Get Mouse Position
(4) Hi, Does anyone know a way to get the mouse co-ordinates from JavaScript? Im making a thing where
you drag and drop objects on a page, and I know how to do it, except for this bit, so if anyone
knows, that's help. Thanks!....
Need Help Changing MTU Settings For XBox
(12) G'day Im trying to get my xbox 360 work on xbox live and I'm using a rather hybrid
connection. Instead of buying the extra wireless adaptor I've connected my laptop to it (via an
ethernet cable) and then bridged the laptops wireless and wired connections. All the network checks
work fine on the xbox EXCEPT for the MTU settings, the 360 says it should be at least 1364, but mine
is set too 1500, I called up the xbox live tech support and they said it might be to high, but I
cant for the life of me figure out how to change the settings. I have a Buffalo Airs....
Blue Screen - irql_not_less_or_equal
computer OS Windows problem booting (29) Hi , My computer AMD64 256mb RAM / 80GB HDD / Windows XP Professional recently started showing a
blue screen while starting .. QUOTE A problem has been detected and windows has been shut down
to prevent further damage to your computer . IRQL_NOT_LESS_OR_EQUAL (blah blah blah ... )
Technical Information: *** STOP: 0x0000000A (oxFB07D354, ox000000FF, ox00000001, ox804E2E41)
Initially, if I restarted it would not come the next time. It used to come only randomly. But
later it started coming more often, and now it did not start for quite a few times con....
Google- Changing The Search Preferences!
(3) If you want the google site to block more sites, then you will need to go onto the google site. Then
go onto preferences. There you can change alot .For example the language it should search for only,
or if the result window should be seperate, or how many results should be displayed per site. This
window to change preferences is very useful! Have fun!....
Windows Media Player Plays All Video In Full Screen
(11) I have a problem with my windows media player. It plays all videos in full screen mode. The media
player does not show any menu bars etc when it starts playing video. hence I cannot reduce the size.
I have tried pressing Alt + enter looking through options like video size, zoom etc, but to no luck.
Even try uninstalling and reloading different version but in all case the problem persists. I have
used ver. 9, 10 11 (beta). All versions are giving problems. Any help is appreciated. ....
Resolution Keeps Changing To 800x600 After Restart
(20) What could cause a limited user account to revert the screen resolution back to 800x600 when it was
set to 1024x768? I have a user who says it's only happening to the limited user account. If he
changes that account to have administrative rights, it will stick at 1024x768. If it's just the
limited user, he could change the resolution to 1024x768 and it will stay that way until he logs off
or shuts down the computer. He's using Windows XP Pro with Service Pack 2 installed. He's
not connected to any company network. Just home computer on DSL. Could there ....
Orkut.com Auto Scrapper - Scrap Ur Friend List In One Go
For the Orkutters (12) hi fellas, as most orkutters know that u cant scrap ur whole friend list in one go. i cant keep
my friends up to date with myself (since they dun know whats a blog) so i have to scrap them all
individually. having 100+ friends i decided to use an autoscrapper and came across Scrapboy.
bugged up with Scrapboy's bulky interface and huge download size, i decided to code my own auto
scrapper for Orkut.com If you don't know what it is, hit the following link
http://www.captainron.uni.cc/orkutter (click download to download) its around 570Kb in download
and ....
How To Make Hotmail Auto Forward Mails?
(12) Does anyone know a way that you can automatically forward an incoming message to another email
account in Hotmail? Almost every mail service offeres this but I can't seem to find it in
Hotmail.....
How to Disable Print Screen?
(17) I'm not sure if this is the right place for posting this, but I'll give it a shot anyway. I
have a problem with copycats. There are a lot of people who steal my and my friends stuff. Well I
don't really care myself, but it really bothers some of my friends. They all disalbe
right-clicking, however people still can copy their stuff using Print Screen, so I'm just
interested, is there any script/code or anything that can disable print screen? Is it possible?
Thanks in advance.....
Help, Attempting To Boot Freebsd-6 <solved>
Cant even get past the boot screen :( (2) Ive downloaded the latest FreeBSD-6.0 for amd64. All MD5's passed. Hardware... CPU: Athlon64
3400+ Socket 754 Ram: 2 * 512 Kingston ValueRam DDR400 (DoubleSided) Chipset: nForce3-250
Motherboard: Asus K8N (Bios 1006.001) Partiton setup: 1: Windows - 20Gb (FAT32) 2: Linux root (XFS)
3: FreeBSD 3a: FreeBSD root 3b: FreeBSD swap 4: Linux Swap 5: boot (reiserFS) HoldsGRUB filesand
Linux kernel. Attempting to boot with Grub using both of the following commands... (from grub)
CODE root (hd0,2,a) kernel /boot/loader boot CODE rootnoverify (....
Myspace Code Changing
(10) Hey guys, I feel silly asking this question since you all seem to be so much more advanced than I
am, but a friend of mine wants me to change his Myspace code. He told me about a profile he saw
where everything was changed. Even the text in the menu links. How do you get into this part of
the code? and then, when you do finally find it, where do you post it so that it works on the
profile? I have a general knowledge of code and such, do I have to be more advanced to be able to do
this? Thanks........
VB: Howto Auto-select Last Item In Listbox
(5) Hi, I'm just writing a small program with a friend that is kind of pointless at the moment
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> but there was one issue
that we haven't been able to work out with a listbox and we aren't too sure if its even
possible to do it. /unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /> My
question is, is it possible to make a listbox automatically scroll to the bottom of the list when a
new item is added? if so can anyone please let me know? Thank you all in advance for ....
Firefox Tab Position
Help! (3) Ok, i sufered a HD TOTAL FAILIURE.. so i downloaded firefoz again.... I had to get all the
extensions i got before, to accomodate my neccesities... One of the things a managed to do before,
was putting the "tabs" on the lower part of the window.. The thing is.. i can't rember how i
did it!!!! And now i can't!!! If any one knows how to do it,
i'ld really aprecciated.. Thanks!!!....
Bad_pool_header
Blue screen Win Xp stop (8) Bad pool header Hi, do anyone know how to solve a BAD_POLL_HEADER... this is not a permanent error,
it comes and goes.. The only unsual thing that are new on this pc are: *SP2 upgrade (i think this
is the problem) and e-mule recently installed... Win XP starts normally, and when we try to login
into an user account POW.. The Killer blue screen appears... the messegae is long and in spanich..
so the relevant info BAD_POOL HEADER_ and 0x00000019....
Grand Theft Auto: San Andreas
Come to talk about this game! (109) Hi, Everyone! I'm new here! Let's Talk about GTA: San Andreas! /biggrin.gif'
border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
Stop AUTO_INCREMENT From Jumping
(13) One of my MySQL tables has an ID column - it's a primary key with auto_increment. And it works.
If I add six rows they number 1 to 6 nicely. But if I delete rows 4 to 6 then add a new row, it
becomes row 7. And if I delete that it becomes row 8. How can I make it so the next auto_increment
is the smallest possible? (i.e. 1,2,3,4,5,6 - I delete 4-6 and the next row inserted becomes 4)....
Getting Screen Resolution using Javascript.
(8) Is it possible to get the screen resolution of the users moniter using only javascript. No other
external stuff, just pure javascript. I guess most of the people using JAVA for this. I also got
some scripts regarding this which used SCREEN.WIDTH function or something, but they did not seem to
work out. Any possible solutions. BTW, is it possible to get the resolution using PHP ( I guess it
is not ) .......
Looking for auto, screen, position, changing,
|
|
Searching Video's for auto, screen, position, changing,
|
advertisement
|
|