Link to home
Start Free TrialLog in
Avatar of ive5005s
ive5005s

asked on

Problem with Visual Studio.NET 2003 Professional

Hi,

I'm experiencing a strange problem with Problem with Visual Studio.NET 2003 Professional.

When I open some of my web forms in design mode and then close them I am prompted to save though I haven't made any?

This odd behaviour only seems to be affecting forms that are designed in flow layout.

Any idea why this would be happening?

Thanks,
Steve.
Avatar of ayha1999
ayha1999

Hi  ive5005s,

Make sure that your opened web project is not set as ReadOnly.

ayha
Avatar of ive5005s

ASKER

Hi ayha,

I don't think it is read only as I'm constantly making changes to the project.

Just to be sure, where can I check this?

check web folder properties.

ayha
in VS.NET

Tools Menu > Options > Environment > Documents > Allow Editing of Read Only Files, but warn when attempt to save

could be that...
Hi Type25,

I just tried that.

Makes no difference.

BTW, the Project is not read-only.
Are you standing on one leg while whistling the tune to rockey?

You're gonna have to explain that one to me, Type.
Typically, when you open a .ascx file and switch it from Design mode to HTML mode, the VS.NET will consider you have modified the code and ask you to save it.

If you are sure you have not made any modification, then ignore it or just resave it. I don't think this is a big deal at all.

Check it out.

Qingtong
Hi Qingtong,

My actual issue is that I am prompted to save to file even if I simply open the file, do absolutley nothing, and then attempt to close the file.

This happens to aspx files that are designed in flow layout, however, this doesn't happen to aspx files that are designed in grid layout.

Thanks,
Steve.
SOLUTION
Avatar of Qingtong
Qingtong

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Qingtong,

I'll keep digging.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi ayha,

I'll have a look there.

One thing I should have mentioned is that the pages that this is affecting (one's designed in flow layout) began their lives as grid layout, then I switched them to flow layout.

thanks
steve,
Perhaps recreate them from scratch and see if it's still doing it?

You can isolate the problem by creating a new project and seeing if it's still happening, if it isn't you can rule out any VS.NET settings...

Good idea Type25,

I'll try that.

Incidently, this is happing on both my machine at work and my machine at home.

And I haven't really messed around with the VS.NET settings on either machine. All settings bar project locations have been left as default.

thanks
steve.
Are you running any Add-Ins for VS.NET, ie. sourcesafe  

?
Does sound like when you close them in design mode, VS.NET is trying to automatically format your document for you...

It does that

No, no add ins.
This is a possiblity.

But even if I do save when I'm prompted to, and then try and re-open the file it prompts me again.

So if VS was trying to re-format the document for me, by saving when prompted you would expect this not to happen again, no?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ahhhhhh..............!!!!!!!!!

I guess I can live with this, it's not too much of a problem. Can't be bothered to spend much more time on it to be honest.

If I haven't fixed it by the end of my day (6pm GMT) as a direct result of one of your suggetions, I'll just split the points.

Thanks for the suggestions guys.