Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

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.
0
ive5005s
Asked:
ive5005s
  • 10
  • 6
  • 3
  • +1
3 Solutions
 
ayha1999Commented:
Hi  ive5005s,

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

ayha
0
 
ive5005sAuthor Commented:
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?
0
 
ayha1999Commented:

check web folder properties.

ayha
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Type25Commented:
in VS.NET

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

could be that...
0
 
ive5005sAuthor Commented:
Hi Type25,

I just tried that.

Makes no difference.

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

0
 
ive5005sAuthor Commented:
You're gonna have to explain that one to me, Type.
0
 
QingtongCommented:
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
0
 
ive5005sAuthor Commented:
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.
0
 
QingtongCommented:
Sorry, I could not generate the issue you just montioned.

I think it may be some settings in Tools->Options.

Qingtong
0
 
ive5005sAuthor Commented:
Thanks Qingtong,

I'll keep digging.
0
 
ayha1999Commented:
Hi again,

Check ur project dll and solution sln file properties.

ayha
0
 
ive5005sAuthor Commented:
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,
0
 
Type25Commented:
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...

0
 
ive5005sAuthor Commented:
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.
0
 
Type25Commented:
Are you running any Add-Ins for VS.NET, ie. sourcesafe  

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

It does that

0
 
ive5005sAuthor Commented:
No, no add ins.
0
 
ive5005sAuthor Commented:
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?
0
 
Type25Commented:
Unless there was a problem with the formatting....  

Bit of a difficult one.

Have you tried creating a new project, does it happen with that as well?
Does it happen with every page in flow layout?

Don't use flow layout, use your own divs?

Paste your html code if you like
0
 
ive5005sAuthor Commented:
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.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 10
  • 6
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now