moving controls at runtime

Discussion in 'ASP .Net' started by xs, Apr 1, 2004.

  1. xs

    xs Guest

    I have a datagrid and a button. The contents of datagrid is dynamic. My
    button is placed below the datagrid. If there are too many items in Datagrid
    the button and datagrid will be overlapped. Is there any way to move the
    button at runtime?
     
    xs, Apr 1, 2004
    #1
    1. Advertisements

  2. You have your web form pageLayout property set to GridLayout.
    Instead, change it to FlowLayout. In my opinion this should be the default
    in VS.NET.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "xs" <> wrote in message
    news:...
    > I have a datagrid and a button. The contents of datagrid is dynamic. My
    > button is placed below the datagrid. If there are too many items in

    Datagrid
    > the button and datagrid will be overlapped. Is there any way to move the
    > button at runtime?
    >
    >
     
    Steve C. Orr [MVP, MCSD], Apr 1, 2004
    #2
    1. Advertisements

  3. xs

    xs Guest

    I have tried but it doest work. The controls still overlap

    "Steve C. Orr [MVP, MCSD]" <> wrote in message
    news:...
    > You have your web form pageLayout property set to GridLayout.
    > Instead, change it to FlowLayout. In my opinion this should be the

    default
    > in VS.NET.
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://Steve.Orr.net
    >
    >
    > "xs" <> wrote in message
    > news:...
    > > I have a datagrid and a button. The contents of datagrid is dynamic. My
    > > button is placed below the datagrid. If there are too many items in

    > Datagrid
    > > the button and datagrid will be overlapped. Is there any way to move the
    > > button at runtime?
    > >
    > >

    >
    >
     
    xs, Apr 1, 2004
    #3
  4. You may need to delete them and re-add them to your form after you change to
    flow layout.
    In the future set your form to flowlayout in the first place then you won't
    have that problem.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "xs" <> wrote in message
    news:...
    > I have tried but it doest work. The controls still overlap
    >
    > "Steve C. Orr [MVP, MCSD]" <> wrote in message
    > news:...
    > > You have your web form pageLayout property set to GridLayout.
    > > Instead, change it to FlowLayout. In my opinion this should be the

    > default
    > > in VS.NET.
    > >
    > > --
    > > I hope this helps,
    > > Steve C. Orr, MCSD, MVP
    > > http://Steve.Orr.net
    > >
    > >
    > > "xs" <> wrote in message
    > > news:...
    > > > I have a datagrid and a button. The contents of datagrid is dynamic.

    My
    > > > button is placed below the datagrid. If there are too many items in

    > > Datagrid
    > > > the button and datagrid will be overlapped. Is there any way to move

    the
    > > > button at runtime?
    > > >
    > > >

    > >
    > >

    >
    >
     
    Steve C. Orr [MVP, MCSD], Apr 1, 2004
    #4
  5. xs

    xs Guest

    It worked. Thanks a million
    "Steve C. Orr [MVP, MCSD]" <> wrote in message
    news:%...
    > You may need to delete them and re-add them to your form after you change

    to
    > flow layout.
    > In the future set your form to flowlayout in the first place then you

    won't
    > have that problem.
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://Steve.Orr.net
    >
    >
    > "xs" <> wrote in message
    > news:...
    > > I have tried but it doest work. The controls still overlap
    > >
    > > "Steve C. Orr [MVP, MCSD]" <> wrote in message
    > > news:...
    > > > You have your web form pageLayout property set to GridLayout.
    > > > Instead, change it to FlowLayout. In my opinion this should be the

    > > default
    > > > in VS.NET.
    > > >
    > > > --
    > > > I hope this helps,
    > > > Steve C. Orr, MCSD, MVP
    > > > http://Steve.Orr.net
    > > >
    > > >
    > > > "xs" <> wrote in message
    > > > news:...
    > > > > I have a datagrid and a button. The contents of datagrid is dynamic.

    > My
    > > > > button is placed below the datagrid. If there are too many items in
    > > > Datagrid
    > > > > the button and datagrid will be overlapped. Is there any way to move

    > the
    > > > > button at runtime?
    > > > >
    > > > >
    > > >
    > > >

    > >
    > >

    >
    >
     
    xs, Apr 1, 2004
    #5
    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. Borys Power

    [BCB] moving components at runtime

    Borys Power, Oct 18, 2004, in forum: C++
    Replies:
    7
    Views:
    628
    Ioannis Vranos
    Oct 19, 2004
  2. Nathan Sokalski
    Replies:
    4
    Views:
    1,382
    Muhammad Naveed Yaseen
    Sep 5, 2007
  3. linkswanted
    Replies:
    0
    Views:
    1,458
    linkswanted
    Dec 21, 2007
  4. linkswanted
    Replies:
    0
    Views:
    1,820
    linkswanted
    Jan 6, 2008
  5. linkswanted
    Replies:
    0
    Views:
    671
    linkswanted
    Jan 23, 2008
  6. linkswanted
    Replies:
    0
    Views:
    824
    linkswanted
    Jan 24, 2008
  7. vbGansta

    Moving Web Controls as runtime

    vbGansta, Feb 5, 2004, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    227
    vbGansta
    Feb 10, 2004
  8. Gerardo Santana Gómez Garrido

    Runtime error after moving to 1.8.7

    Gerardo Santana Gómez Garrido, Dec 19, 2008, in forum: Ruby
    Replies:
    4
    Views:
    152
    Gerardo Santana Gómez Garrido
    Jan 16, 2009
Loading...