How To: make the datalist scroll to the cell being edited?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Alan Silver (alan-silver_at_nospam.thanx)
Date: 02/17/05


Date: Thu, 17 Feb 2005 15:27:09 +0000

Hello,

I have a datalist which I am using to view and modify some data. When
the user clicks the "edit" link, the appropriate cell is moved into edit
mode, as specified in the EditTemplate.

The problem is that if the data table is longer than the browser window,
so the user has to scroll down to see parts of it, then when they are
taken to edit mode, the page loads and stays at the top of the table.
They then have to scroll down and find the cell they asked to edit.

Any way to take them straight to the cell? Any other solutions to the
problem, for example forcing the row containing the cell to be edited to
the top of the table, etc?

Any suggestions appreciated.

-- 
Alan Silver
(anything added below this line is nothing to do with me)


Relevant Pages

  • Re: How To: make the datalist scroll to the cell being edited?
    ... I guess if you want to support non IE browsers you could use an anchor ... When> the user clicks the "edit" link, the appropriate cell is moved into edit> mode, as specified in the EditTemplate. ... > The problem is that if the data table is longer than the browser window,> so the user has to scroll down to see parts of it, then when they are> taken to edit mode, the page loads and stays at the top of the table. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Windows & Dialog Stencil
    ... the Open at the bottom of the Edit menu is to ... stencil, you need to open the stencil and then right click the ... Then I can proceed to the "Show ShapeSheet" window and edit each ... User.Active is a boolean cell that is ...
    (microsoft.public.visio.general)
  • RE: Protected Formula Error
    ... or some other event code somewhere that is re-setting the protection. ... Edit directly in cell checked off. ...
    (microsoft.public.excel.programming)
  • RE: Protected Formula Error
    ... Workbook and worksheet unprotected. ... All event macros commented out. ... Edit directly in cell checked off. ...
    (microsoft.public.excel.programming)
  • Re: Error in cell formula
    ... You can edit any formula either in the cell or by activating ... of excel. ... If you get N/A then it means the first three characters doesn't match ...
    (microsoft.public.excel.programming)