Can move objects in the Visual Studio.Net 2005 Web config, any help?

I can put objects on the .aspx webform but I am not able to move them. They seem stuck on the page. I looked through all of the object properties for the form and I found nothing, any help?

er… what?

Are you talking about a web.config file, or an .aspx file?

It sounds like you’re talking about an aspx file, and you’re maybe used to standard Windows forms, not web forms. You can’t explicitly place items on a web form - they float around to accommodate different browser types and sizes.

Try putting down a table object and using it as a grid to place items.

And you might want to go get a basic HTML book and read up on web development. Maybe I’m misunderstanding your question, but in case I’m not, you need to spend some time learning about web development.

I’m talking about the .aspx web files.

When I was using Visual Studio.net 2003, I was able to drag and drop items on the .aspx form. But now I can’t. I do know HTML and am aware of web development. I’m just curious as to why the .ASPX form seems to be locked. I know that when 2005 came out, they changed little things like this so it auto adjuts an objects size or location on the form. I was just wondering if that was a setting somehwere.

OK, that makes more sense.

I can drag and drop items from the toolbox to a .aspx web form. I think it locks it when the debugger is running, though. Could that be your problem?

If that’s not it, what object are you trying to drag and drop?

I’m not there right now, so I can’t tell if its the debugger.

But objects like buttons and labels. That is what we have tried so far, but I’m assuming the same will happen for other objects.

Do I have to turn debugging off in the web.config? If so, any help on what to write. I can remember doing it before but not anymore.

Do you have grid-llayout on? this will place object on the page absolutely positioned with css.

No, you don’t have to do anything to the web.config.

In fact, I mispoke. It doesn’t have to be debugging - even when you’re just running the application it will lock the .aspx page. Are you trying to move the objects around when the application is up and running?

no no, ofcourse not, just while I’m in the developing stage, before I ever hit the run button. I’ll check gridlayout. That might be the trick.

Thanks bcullman and Athena , I didn’t know if anyone on here dealt with VB. :slight_smile: Very helpful.

I have the same problem. Personally, I hate the HTML designer.

What happens to me is that after I drop a control on it, SOMETIMES, I can’t select it later and move it.

What I have found works, is to open the .aspx HTML source code and add or delete a blank line. This seems to wake up the design view and allows you to select and position controls.

I hate it.