I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be
luckier here...
I have VS .net 2003 v1.1 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
This is a complete project so I can't move code around (like in the
solutions I've found) or recreate web Forms.
Thanks. 3 1577
"VMI" <VM*@discussion s.microsoft.com > wrote in message
news:BD******** *************** ***********@mic rosoft.com... I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be luckier here... I have VS .net 2003 v1.1 and I'm trying to view some web pages in the designer form. When I try to do this, I get this error: "The designer could not be shown for this file because none of the classes within it can be designed." I could see these before, but then I rebooted my PC. The project compiles and runs. What's going on? This is a complete project so I can't move code around (like in the solutions I've found) or recreate web Forms.
Thanks.
Is the page base class marked as abstract? If so, the designer can't create
the base classes in order to design on the derived class and you'll have to
remove the abstract from the classes.
HTH,
Mythran
It's not abstract.
I could see the pages in design view before, but somehow it stopped working
after installing VS 2005 and rebooting my PC.
Thanks.
"Mythran" wrote: "VMI" <VM*@discussion s.microsoft.com > wrote in message news:BD******** *************** ***********@mic rosoft.com...I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be luckier here... I have VS .net 2003 v1.1 and I'm trying to view some web pages in the designer form. When I try to do this, I get this error: "The designer could not be shown for this file because none of the classes within it can be designed." I could see these before, but then I rebooted my PC. The project compiles and runs. What's going on? This is a complete project so I can't move code around (like in the solutions I've found) or recreate web Forms.
Thanks.
Is the page base class marked as abstract? If so, the designer can't create the base classes in order to design on the derived class and you'll have to remove the abstract from the classes.
HTH, Mythran
I did notice that the page base class (it affects all the aspx) were derived
from two other classes and the last one is derived from System.Web.UI.P age
(i.e. c1 is derived from c2. c2 is derived from c3, and c3 is derived from
System.Web.UI.P age).
Before VS 2005 I was able to see the pages through the designer, so I know
there's nothing wrong with the code. Does installing VS 2005 change any
parameter that I may now know about?
Thanks.
"VMI" wrote: I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be luckier here... I have VS .net 2003 v1.1 and I'm trying to view some web pages in the designer form. When I try to do this, I get this error: "The designer could not be shown for this file because none of the classes within it can be designed." I could see these before, but then I rebooted my PC. The project compiles and runs. What's going on? This is a complete project so I can't move code around (like in the solutions I've found) or recreate web Forms.
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Yasutaka Ito |
last post by:
Hi folks!
I have a BaseForm class that inherits System.Windows.Forms.Form. It has a
property, whose value I need supplied by the class that inherits it. The
BaseForm usees the value supplied into this property in its Load event.
So, I gave the BaseForm and the property 'abstract' modifier, and put the
implementation of the property in the inherited class; say MyForm. However,
when I did this, I no longer can open MyForm in the design...
|
by: ericvdb |
last post by:
Hi all,
I'm trying to fill a PDF form with asp.net using the FDF Toolkit.
I have a simple form with a textbox and a button. When the button is
clicked, the pdf should open with the field filled from the textbox.
When I open the page in IE (whatever version) i get :
############################################################
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
|
by: Slimeman |
last post by:
When I create a BasePage class in either the same or separate assembly,
create a Web Form that inherits from BasePage, and then attempt to view my
Web Form in the visual designer, I get 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 in
the file:
|
by: VMI |
last post by:
I have VS .net 2003 v1.1.4322 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |