Unable to place controls in layout grid cells (repeated)

Discussion in 'ASP .Net' started by Silicon Strawberry, Aug 8, 2007.

  1. Hello,

    I posted this a while ago, but I haven't got a response yet.

    When I do the following:

    - create a layout grid by going 'Layout' > 'Insert Table';

    - accept the default settings (3 x 3 grid);

    - drag a text box from the toolbox on the centre cell of the grid (i.e. at
    row 2, column 2);

    instead of the edit box to be placed in the centre cell, it is placed in the
    top left row (row 1, column 1).

    What's more, when I look at the source code for the page, it *does* tell me
    that the control *is* in the centre. The reason it appears not to display
    correctly is that it is css position attribute is *absolute*, not
    *relative*.

    Is there any way I can make the attribute relative by default when I drag
    and drop controls into layouts?

    Thanks in advance,

    Akin
    --
    akyak at aksoto dot idps dot co dot uk
     
    Silicon Strawberry, Aug 8, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick Spiewak
    Replies:
    3
    Views:
    3,414
    Rick Spiewak
    Aug 26, 2003
  2. RobertH
    Replies:
    1
    Views:
    911
    Steve C. Orr [MVP, MCSD]
    Nov 4, 2003
  3. NWx
    Replies:
    4
    Views:
    3,154
    Kevin Spencer
    Feb 19, 2004
  4. Andrew Chalk

    Flow layout to grid layout

    Andrew Chalk, Dec 23, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    684
    Andrew Chalk
    Dec 23, 2005
  5. Replies:
    1
    Views:
    824
    John Timney \(MVP\)
    Jun 19, 2006
  6. Silicon Strawberry

    Unable to place controls in layout grid cells

    Silicon Strawberry, Aug 5, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    502
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Aug 13, 2007
  7. wahtnamas
    Replies:
    0
    Views:
    1,089
    wahtnamas
    May 1, 2009
  8. Joel Finkel

    Cells[].Text or Cells[].Controls[0]

    Joel Finkel, Sep 1, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    516
    Joel Finkel
    Sep 1, 2003
Loading...