473,322 Members | 1,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

stopping the designer from working at all!

Hi
If you place a class in the top of a aspx.cs file that isn't the main
class then the designer doesn't work. Good. I want to stop
the designer from being able to work so that it can't accidently
screw up my aspx formatting.
Is there a better way of doing this? I don't really want to make lots of
little classes just so that the designer can't function.

Thanks
F
Nov 18 '05 #1
5 1066
Yeah, use notepad instead...

<fo******@yahoo.co.uk> wrote in message
news:ac**************************@posting.google.c om...
Hi
If you place a class in the top of a aspx.cs file that isn't the main
class then the designer doesn't work. Good. I want to stop
the designer from being able to work so that it can't accidently
screw up my aspx formatting.
Is there a better way of doing this? I don't really want to make lots of
little classes just so that the designer can't function.

Thanks
F

Nov 18 '05 #2
stop opening the designer, works for me.
Set your VS defaults to always goto the html view, not design view, when
opening.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
<fo******@yahoo.co.uk> wrote in message
news:ac**************************@posting.google.c om...
Hi
If you place a class in the top of a aspx.cs file that isn't the main
class then the designer doesn't work. Good. I want to stop
the designer from being able to work so that it can't accidently
screw up my aspx formatting.
Is there a better way of doing this? I don't really want to make lots of
little classes just so that the designer can't function.

Thanks
F

Nov 18 '05 #3
> stop opening the designer, works for me.

sorry, forgot to mention I want this on a per page basis
Nov 18 '05 #4
> stop opening the designer, works for me.

sorry, forgot to mention I want this on a per page basis
Nov 18 '05 #5
doesn't really make a dif, you can still click the Design view button for
whatever page you want, if you dont' want to click it and risk the dangers,
then dont.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
<fo******@yahoo.co.uk> wrote in message
news:ac**************************@posting.google.c om...
stop opening the designer, works for me.


sorry, forgot to mention I want this on a per page basis

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: thechaosengine | last post by:
Hi all, I wanted to put some common security functions into a class that inherits from the Page class and then use the new class as the basis for all my pages. Unfortunately, if I try and...
1
by: Chuck Haeberle | last post by:
We have need to share functionality across all of our application web pages, so we decided to subclass from System.Web.UI.Page. When we create a new aspx, the Visual Studio designer automatically...
4
by: foldface | last post by:
Hi If you place a class in the top of a aspx.cs file that isn't the main class then the designer doesn't work. Good. I want to stop the designer from being able to work so that it can't accidently...
2
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm...
0
by: Jason Garland \(Secure Access Pty Ltd\) | last post by:
Any ideas on how to cure the following error ? The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes...
3
by: gesres | last post by:
I'm working at a shop that forbids the use of the designer for ASP.NET pages. How many shops/projects make similar prohibitions? (Seems extreme to me.) Thanks
6
by: Andrew Poulos | last post by:
I'm using Windows Media Audio, via a WAX file, and I have some custom controls to start and stop the audio. While it works in IE, FF gives an error. The HTML looks like this: <object id='obj'...
4
by: ThunderMusic | last post by:
Hi, I have a custom form that works fine when I debug it or run it in release mode but cannot be loaded in the designer... Actually, it can be loaded in the designer when no control is on it, but...
3
by: segecko | last post by:
Hi I have a created a custom usercontrol which inherites an Excel like usercontrol. In this usercontrol I have a custom property called SpreadTemplate, which is an enum with (at the moment) two...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.