Move Controls In Asp.Net

Last post 07-16-2008 3:18 AM by Thomas Sun – MSFT. 2 replies.

Sort Posts:

  • Move Controls In Asp.Net

    07-11-2008, 3:16 PM
    • Loading...
    • hamedasp
    • Joined on 07-10-2008, 6:42 PM
    • Posts 6

     

    I want to move a Control like a button with keyboard not mouse .

     

    arrow keys in asp.net do not move controls.

    but they work in win app projects.

     so I want to now how move this controls with keyboard in asp.net (vs 2005)


    shift+arrow or ctrl+arrow can not move the controls in asp.net ENVIronment.

    please help. 

     

     

  • Re: Move Controls In Asp.Net

    07-12-2008, 12:36 AM

    Back in VS 2003 you could set the page layout to Grid instead of flow.  I don't see that same option in VS 2008.  I'm not sure if you can still do it. If you were in grid mode it would work like windows forms.  You might also be able to do this in Expression.

    I hope this helps.

    Mike Douglas
    blog - http://www.CodeSmartNotHard.com
    WebSite - http://www.DOITConsultants.com
  • Re: Move Controls In Asp.Net

    07-16-2008, 3:18 AM
    Answer

    Hi,

    The layout of ASP.NET project is not moved by default using UP ARROW, DOWN ARROW, etc.

    To use the Arrow keys to move the control such as Button, we need to set its CSS positioning to Absolutely or Relatively in Visaul Studio 2005 (Select a control -> Click Layout menu -> Position -> Enter CSS Positioning element -> Select Absolutely or Relatively from dropdownlist). If you do so, you can move this control using Arrow keys.

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter