CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/28/2007 11:49:41 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
tomeq10
Asp.Net User
Scrolling by keyboard keys in MasterPages3/28/2007 11:49:41 AM

0/0

Hey,

 I have a website with MasterPage. In ContentPlaceHolders I have got Iframes. In the <BODY> of the MasterPage i have got set cssstyle: overflow:auto.

Scrollbars show automatically, but the problem is that the keybord keys for moving scrollbars doesnt work. I tried to use arrow-up/down, page-up/down, and unfortunatelly it doesn't work for me.

Can you please help me.

Thanks,

Tom

Chris Pebble
Asp.Net User
Re: Scrolling by keyboard keys in MasterPages3/28/2007 3:27:17 PM

0/0

You need to make sure that the iFrame has the focus. Click anywhere inside the iFrame and try scrolling again. If that still doesn't work let us know.
tomeq10
Asp.Net User
Re: Scrolling by keyboard keys in MasterPages3/29/2007 8:11:12 AM

0/0

It still doesn't work. :(

Maybe I try to explain what I need to achieve.

Scrolls in Iframe should be hidden.  I use JS script to set dynamically height of the IFrame. Only MasterPage's scroll is visible and there should be possiblity to move them by keyboard's keys.

There is one exception for this. When width of some object in Iframe is big (like pictures, etc), the scrolls are visilbe also in Iframes...

 On the left I have narrow in width Iframe with options, the rest (on the right) is Iframe with content.

Those Iframes are in ContentPlaceHolders.

 Tom

bpag
Asp.Net User
Re: Scrolling by keyboard keys in MasterPages3/29/2007 2:13:42 PM

0/0

It doesn't work because the iframe contains its own page so when your focus is on the iframe and you press keys those key strokes go to the page/document in the iframe not to the page/document in the parent page so the main page will not scroll. You can probably make this work by intercepting the keystroke events in the pages in the iframe and then manually scrolling the main page but that is a pretty ugly solution. Maybe you could explain more what you are trying to accomplish. It seems odd to me to be using iframes in content placeholders. Presumably you have a master page with contentplaceholders and then what did you do set up a content page and for each contentplaceholder in you rmaster you have a content tag on the page that has an iframe in it and loads a different page in the iframe? There may be a better way to accomplish what you are after. I do something similar where in my site the browser scroll bars are never used, instead my master page has a main content area ( a div with overflow=auto and a contentplaceholder inside that. That main div area is used for all scrolling. I don't use iframes though I just have each content page fill in that main content area and a few other pieces of the page.


If this post answered your question please remember to 'Mark as Answer'!
tomeq10
Asp.Net User
Re: Scrolling by keyboard keys in MasterPages3/29/2007 3:49:43 PM

0/0

The problem is, that this site is some kind of searcher, but not only the searcher. On the left left frame there are various options, on the right frame there are searching results, textbox, button etc. After searching, if you click on some listed record, right frame is being reloaded, and on this frame the content of picked document is being showed. Additionally you can pick some options on the left frame, and in order that, right frame is reloaded and lets say some form is being showed, or other pages.

It is like you said. I've got contentplaceholders, and in this holders I put iframes, into which are loaded specific aspx pages. I just tried to avoid reload all page (options part, and found record part). I guess, that using frames is the only solution. Maybe using MasterPage with Iframe is weird, but it is not a problem to get rid of MasterPage. I dont know what is the best way to achieve this, so application could be scalable. Improtant issue is that browser's backbutton has to work, so AJAX, is not an option.

Thanks

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
QuarkXPress 7 for Windows and Macintosh: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 464, Published: 2006
QuarkXPress 5 for Macintosh and Windows: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 498, Published: 2002
Software Essentials for Graphic Designers: Photoshop, Illustrator, InDesign, QuarkXPress, Dreamweaver, Flash and Acrobat Authors: Mark Gatter, Pages: 240, Published: 2006
Real World Adobe Indesign Cs2: Industrial-strength Page-layout Techniques Authors: Olav Martin Kvern, David Blatner, Pages: 867, Published: 2006
QuarkXPress 6 for Macintosh and Windows: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 16, Published: 2003
Adobe InDesign CS/CS2 Breakthroughs Authors: David Blatner, Anne-Marie Concepcion, Pages: 264, Published: 2005
InDesign Production Cookbook: 169 Easy-to-follow Recipes for Graphic Designers and Desktop Publishers Authors: Alistair Dabbs, Ken McMahon, Anne-Marie Concepcion, Keith Martin, Pages: 192, Published: 2005

Web:
InDesign CS2 Beyond the Basics: Creating a master page from a spread To apply it I'm going to hold down my Option key on Mac, Alt key Windows, and just click. And I've just applied that master page B to Pages 6 and 7. ...
Adobe InDesign CS topic outline Pages palette C. Master pages 1. Purpose of master pages 2. ... Scrolling diagonally- keyboard shortcut D. Multiple Undo and Redo shortcuts Session #2 I. ...
Adobe InDesign CS3 Keyboard Shortcuts There is a PDF, printable version to the right, or just scroll down to ... Override all master page items on pages selected in Panels panel, Cmd-Opt-Shift- L ...
Computer Training Options - News - InDesign CS3 Keyboard Shortcuts Jun 3, 2008 ... Move by Increment (set in Preferences) any arrow key ... Override a single master page item on a document page Ctrl-Shift-click it ...
Keyboard shortcuts for Microsoft Publisher - Publisher - Microsoft ... The shortcut keys described in this Help topic refer to the U.S. keyboard layout . Keys on other layouts may not correspond exactly to the keys on a U.S. ...
QuarkXPress 5.0 Keyboard Command Book for Mac OS Option+drag master page into document area. STYLE SHEETS PALETTE. COMMAND. Display palette ... SCROLLING. COMMAND. With Page Grabber Hand H. Option+drag ...
Rutgers Business & Technical Writing - 355:415 Information Design If you are comfortable with such, you may also use the keyboard shortcut of ... Scroll up and down the master page; you will see the areas for headers and ...
RE: Quark "cannot link text boxes across master pages" Error ... (4) Scroll over (for me, left) to the other page & "de-link" that one, too. ... WPA key generating software (random 10 key) can give you the ...
Adobe InDesign CS3 Keyboard Shortcuts Selection or Direct Selection tool+Ctrl+Shft-click, Select master page item ..... Any key on the numeric keypad or keyboard numbers, Change reference point ...
QuarkXPress 8 Keyboard Command Guide, Windows Display this page’s master page. Shift+F4. Display next master page. Ctrl+Shift+ F4 .... Scrolling. With Pan tool. Alt+drag. To start of text. Ctrl+Home ...




Search This Site:










login and access to pages

problem uploading to host server

role-based webpart landing page layout with user controls and personalization problems

password update

how to enable sso on web applications accross subdomains using active directory

limit on uploading files

what hash alghoritm uses aspnet_membership for password?

trackbacks

moving a project from one copy of visual studio to another

namespace problem - i suspect it is simple...

keeping track of userid...

trying to insert customer data using the createuserwizard

master pages and aspx pages

login redirect by role or user?

advice for new project.

user authentication in asp.net

line 95 error object expected

2.0 issue

dnn2.0.4: banners.... is this a bug?

php gzcompress() equivalent in .net

multiple logins with forms authentication

updatable sitemapprovider

goals...

migrate the sql express to sql server ??

how to add javascript to the body tag in dnn

accessing scroll bar property of div or span controls...

help with dataadapters.

changing a users details programmatically asp.net 2.0

control keep state

a problem on aspcreateuser

 
All Times Are GMT