473,719 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML Designer Problems

This IDE is driving me nuts. I needed another button so I copied an
existing one, changed the Text and the id and position by drag and drop.
Well then I run and get the following:

Control 'Button19' of type 'Button' must be placed inside a form tag with
runat=server

Can the IDE not do what it is supposed to do. It seems that it is a fight
to make it do anything or did I do something wrong? It would seem silly to
have to create a new button every time when there are buttons with
attributes that can be copied????

Help Please
Nov 18 '05 #1
17 2483
Lloyd,

This usually happens when you take an HTML page and rename it to .aspx.
When you create a Webform in VS.NET, it adds a <form> tag with a "runat"
attribute and a value of "server". If you don't have that, you'll get this
error.

The solution is to add a <form> tag to the page. The best place to add it
is directly under the opening <body> tag. You will then put the closing
</form> tag right before the closing </body> tag. For example:

<body>
<form name="form1" runat="server">
... page content here ...
</form>
</body>

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: HTML Designer Problems
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>Date: Wed, 19 Nov 2003 03:32:14 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069212734 24.157.22.156 (Tue, 18 Nov 2003 22:32:14 EST)NNTP-Posting-Date: Tue, 18 Nov 2003 22:32:14 EST
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.f reenet.de!newsf eed.tiscali.ch! solnet.ch!solne t.ch!newsfeed.m o
untaincable.net !cyclone01.bloo r.is.net.cable. rogers.com!twis ter01.bloor.is. n
et.cable.rogers .com.POSTED!not-for-mailXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1918 72
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

This IDE is driving me nuts. I needed another button so I copied an
existing one, changed the Text and the id and position by drag and drop.
Well then I run and get the following:

Control 'Button19' of type 'Button' must be placed inside a form tag with
runat=server

Can the IDE not do what it is supposed to do. It seems that it is a fight
to make it do anything or did I do something wrong? It would seem silly to
have to create a new button every time when there are buttons with
attributes that can be copied????

Help Please


Nov 18 '05 #2
I can see that would be a problem but this is not what happened in my case.
I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I moved
(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems
it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old name
no problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:IF******** ******@cpmsftng xa07.phx.gbl...
Lloyd,

This usually happens when you take an HTML page and rename it to .aspx.
When you create a Webform in VS.NET, it adds a <form> tag with a "runat"
attribute and a value of "server". If you don't have that, you'll get this error.

The solution is to add a <form> tag to the page. The best place to add it
is directly under the opening <body> tag. You will then put the closing
</form> tag right before the closing </body> tag. For example:

<body>
<form name="form1" runat="server">
... page content here ...
</form>
</body>

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: HTML Designer Problems
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
Date: Wed, 19 Nov 2003 03:32:14 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069212734 24.157.22.156

(Tue, 18 Nov 2003 22:32:14 EST)
NNTP-Posting-Date: Tue, 18 Nov 2003 22:32:14 EST
Path:

cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin e.de!newsfeed.f reenet.de!newsf eed.tiscali.ch! solnet.ch!solne t.ch!newsfeed.m o untaincable.net !cyclone01.bloo r.is.net.cable. rogers.com!twis ter01.bloor.is. n et.cable.rogers .com.POSTED!not-for-mail
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1918 72X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

This IDE is driving me nuts. I needed another button so I copied an
existing one, changed the Text and the id and position by drag and drop.
Well then I run and get the following:

Control 'Button19' of type 'Button' must be placed inside a form tag with
runat=server

Can the IDE not do what it is supposed to do. It seems that it is a fightto make it do anything or did I do something wrong? It would seem silly tohave to create a new button every time when there are buttons with
attributes that can be copied????

Help Please

Nov 18 '05 #3
The reason this works (or doesn't work, in this case) is because of how the
IDE does code/design separation and how the IDE fires events internally.
Here is a simple workaround:

A. Add a button to a webform.
B. Give it an ID.
C. Position it.
D. Here's the kicker... switch to HTML View and then back to design view.
Look at your code-behind and you will see that the control has been created
in code.
E. Switch back to Design View and delete the button.
F. Add a new button and try to give it the same id as the one that was
deleted.
G. Oops! Got an error message? Ok,
G1. Switch again from Design View to HTML View after you have deleted
the button. Look in your code behind and you will see that
the button declaration has disappeared!
G2. Now, switch back to Design View and readd the button with the same
id as the one that was deleted and you should get no
error message. :)

The reason this happens is that the IDE fires an event when you drag a
control onto a web form and in that event, it first checks to see if there
is already a control declared with this id. If there is none, it declares
the control in the code behind. Now, when you delete a button from the
designer and that event misfires for whatever reason, the control
declaration does not get removed, and exactly as it says, you cannot have
two controls with the same id. When switching between design view and html
view, the IDE again fires another event and double checks that all the
controls have been declared. This is reported to be fixed in Whidbey.

HTH,
Bill P.
"Lloyd Sheen" <sq************ *******@tostops pamhotmail.com> wrote in message
news:9L******** ************@ne ws01.bloor.is.n et.cable.rogers .com...
I can see that would be a problem but this is not what happened in my case. I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I moved (drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems
it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old name no problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:IF******** ******@cpmsftng xa07.phx.gbl...
Lloyd,

This usually happens when you take an HTML page and rename it to .aspx.
When you create a Webform in VS.NET, it adds a <form> tag with a "runat"
attribute and a value of "server". If you don't have that, you'll get this
error.

The solution is to add a <form> tag to the page. The best place to add it
is directly under the opening <body> tag. You will then put the closing
</form> tag right before the closing </body> tag. For example:

<body>
<form name="form1" runat="server">
... page content here ...
</form>
</body>

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: HTML Designer Problems
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID:

<2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
Date: Wed, 19 Nov 2003 03:32:14 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069212734 24.157.22.156
(Tue, 18 Nov 2003 22:32:14 EST)
NNTP-Posting-Date: Tue, 18 Nov 2003 22:32:14 EST
Path:

cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin

e.de!newsfeed.f reenet.de!newsf eed.tiscali.ch! solnet.ch!solne t.ch!newsfeed.m o

untaincable.net !cyclone01.bloo r.is.net.cable. rogers.com!twis ter01.bloor.is. n
et.cable.rogers .com.POSTED!not-for-mail
Xref: cpmsftngxa06.ph x.gbl

microsoft.publi c.dotnet.framew ork.aspnet:1918 72X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

This IDE is driving me nuts. I needed another button so I copied an
existing one, changed the Text and the id and position by drag and
drop.Well then I run and get the following:

Control 'Button19' of type 'Button' must be placed inside a form tag withrunat=server

Can the IDE not do what it is supposed to do. It seems that it is a

fightto make it do anything or did I do something wrong? It would seem
silly tohave to create a new button every time when there are buttons with
attributes that can be copied????

Help Please


Nov 18 '05 #4
All I can say is WOW. I am sure there is a good reason for this but it
eludes for now. At least I have a workaround.

Thanks.

"Bill Priess" <no*****@nospam .com> wrote in message
news:e0******** ******@TK2MSFTN GP12.phx.gbl...
The reason this works (or doesn't work, in this case) is because of how the IDE does code/design separation and how the IDE fires events internally.
Here is a simple workaround:

A. Add a button to a webform.
B. Give it an ID.
C. Position it.
D. Here's the kicker... switch to HTML View and then back to design view.
Look at your code-behind and you will see that the control has been created in code.
E. Switch back to Design View and delete the button.
F. Add a new button and try to give it the same id as the one that was
deleted.
G. Oops! Got an error message? Ok,
G1. Switch again from Design View to HTML View after you have deleted
the button. Look in your code behind and you will see that
the button declaration has disappeared!
G2. Now, switch back to Design View and readd the button with the same
id as the one that was deleted and you should get no
error message. :)

The reason this happens is that the IDE fires an event when you drag a
control onto a web form and in that event, it first checks to see if there
is already a control declared with this id. If there is none, it declares
the control in the code behind. Now, when you delete a button from the
designer and that event misfires for whatever reason, the control
declaration does not get removed, and exactly as it says, you cannot have
two controls with the same id. When switching between design view and html
view, the IDE again fires another event and double checks that all the
controls have been declared. This is reported to be fixed in Whidbey.

HTH,
Bill P.
"Lloyd Sheen" <sq************ *******@tostops pamhotmail.com> wrote in message news:9L******** ************@ne ws01.bloor.is.n et.cable.rogers .com...
I can see that would be a problem but this is not what happened in my case.
I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I

moved
(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old

name
no problem. Perhaps MS has implemented the (if the car does not work get out and then back in and try again) solution.
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:IF******** ******@cpmsftng xa07.phx.gbl...
Lloyd,

This usually happens when you take an HTML page and rename it to ..aspx. When you create a Webform in VS.NET, it adds a <form> tag with a "runat" attribute and a value of "server". If you don't have that, you'll get

this
error.

The solution is to add a <form> tag to the page. The best place to add it is directly under the opening <body> tag. You will then put the
closing </form> tag right before the closing </body> tag. For example:

<body>
<form name="form1" runat="server">
... page content here ...
</form>
</body>

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>Subject: HTML Designer Problems
>Lines: 15
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID:
<2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
>Date: Wed, 19 Nov 2003 03:32:14 GMT
>NNTP-Posting-Host: 24.157.22.156
>X-Complaints-To: ab***@rogers.co m
>X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069212734

24.157.22.156 (Tue, 18 Nov 2003 22:32:14 EST)
>NNTP-Posting-Date: Tue, 18 Nov 2003 22:32:14 EST
>Path:

cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin

e.de!newsfeed.f reenet.de!newsf eed.tiscali.ch! solnet.ch!solne t.ch!newsfeed.m o

untaincable.net !cyclone01.bloo r.is.net.cable. rogers.com!twis ter01.bloor.is. n
et.cable.rogers .com.POSTED!not-for-mail
>Xref: cpmsftngxa06.ph x.gbl

microsoft.publi c.dotnet.framew ork.aspnet:1918 72
>X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>This IDE is driving me nuts. I needed another button so I copied an
>existing one, changed the Text and the id and position by drag and drop. >Well then I run and get the following:
>
>Control 'Button19' of type 'Button' must be placed inside a form tag with >runat=server
>
>Can the IDE not do what it is supposed to do. It seems that it is a

fight
>to make it do anything or did I do something wrong? It would seem

silly
to
>have to create a new button every time when there are buttons with
>attributes that can be copied????
>
>Help Please
>
>
>



Nov 18 '05 #5
Bill,

It is true that the architecture is completely different in Whidbey.
However, I am unable to reproduce this behavior that you and Lloyd are
reporting. I have also searched our bug databases and see no information
on a bug that was fixed in Everett. Can you give me specific repro steps?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Bill Priess" <no*****@nospam .com>
References: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
<IF************ **@cpmsftngxa07 .phx.gbl>
<9L************ ********@news01 .bloor.is.net.c able.rogers.com >Subject: Re: HTML Designer Problems
Date: Wed, 19 Nov 2003 09:47:58 -0800
Lines: 153
Organization : eCircle Software, LLC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <e0************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: 65.115.95.253
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP12.phx.gblXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1913 06
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

The reason this works (or doesn't work, in this case) is because of how the
IDE does code/design separation and how the IDE fires events internally.
Here is a simple workaround:

A. Add a button to a webform.
B. Give it an ID.
C. Position it.
D. Here's the kicker... switch to HTML View and then back to design view.
Look at your code-behind and you will see that the control has been created
in code.
E. Switch back to Design View and delete the button.
F. Add a new button and try to give it the same id as the one that was
deleted.
G. Oops! Got an error message? Ok,
G1. Switch again from Design View to HTML View after you have deleted
the button. Look in your code behind and you will see that
the button declaration has disappeared!
G2. Now, switch back to Design View and readd the button with the same
id as the one that was deleted and you should get no
error message. :)

The reason this happens is that the IDE fires an event when you drag a
control onto a web form and in that event, it first checks to see if there
is already a control declared with this id. If there is none, it declares
the control in the code behind. Now, when you delete a button from the
designer and that event misfires for whatever reason, the control
declaration does not get removed, and exactly as it says, you cannot have
two controls with the same id. When switching between design view and html
view, the IDE again fires another event and double checks that all the
controls have been declared. This is reported to be fixed in Whidbey.

HTH,
Bill P.
"Lloyd Sheen" <sq************ *******@tostops pamhotmail.com> wrote in messagenews:9L******* *************@n ews01.bloor.is. net.cable.roger s.com...
I can see that would be a problem but this is not what happened in my

case.
I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I

moved
(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems
it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old

name
no problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:IF******** ******@cpmsftng xa07.phx.gbl...
> Lloyd,
>
> This usually happens when you take an HTML page and rename it to .aspx.
> When you create a Webform in VS.NET, it adds a <form> tag with a "runat" > attribute and a value of "server". If you don't have that, you'll get

this
> error.
>
> The solution is to add a <form> tag to the page. The best place to add

it > is directly under the opening <body> tag. You will then put the closing > </form> tag right before the closing </body> tag. For example:
>
> <body>
> <form name="form1" runat="server">
> ... page content here ...
> </form>
> </body>
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> Developer Support
> ASP.NET
> ja******@online .microsoft.com
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
> >Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
> >Subject: HTML Designer Problems
> >Lines: 15
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID:
> <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
> >Date: Wed, 19 Nov 2003 03:32:14 GMT
> >NNTP-Posting-Host: 24.157.22.156
> >X-Complaints-To: ab***@rogers.co m
> >X-Trace: twister01.bloor .is.net.cable.r ogers.com 106921273424.157.22.15 6 > (Tue, 18 Nov 2003 22:32:14 EST)
> >NNTP-Posting-Date: Tue, 18 Nov 2003 22:32:14 EST
> >Path:
>

cpmsftngxa06.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli

n
>

e.de!newsfeed. freenet.de!news feed.tiscali.ch !solnet.ch!soln et.ch!newsfeed. m

o
>

untaincable.ne t!cyclone01.blo or.is.net.cable .rogers.com!twi ster01.bloor.is .

n
> et.cable.rogers .com.POSTED!not-for-mail
> >Xref: cpmsftngxa06.ph x.gbl

microsoft.publi c.dotnet.framew ork.aspnet:1918 72
> >X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
> >
> >This IDE is driving me nuts. I needed another button so I copied an
> >existing one, changed the Text and the id and position by drag anddrop. > >Well then I run and get the following:
> >
> >Control 'Button19' of type 'Button' must be placed inside a form tagwith > >runat=server
> >
> >Can the IDE not do what it is supposed to do. It seems that it is a

fight
> >to make it do anything or did I do something wrong? It would seem

silly
to
> >have to create a new button every time when there are buttons with
> >attributes that can be copied????
> >
> >Help Please
> >
> >
> >
>




Nov 18 '05 #6
These are the steps to reproduce.

I can see that would be a problem but this is not what happened in my case.
I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I moved
(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems
it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old name
no problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.


Nov 18 '05 #7
Lloyd,

This is the same post you made previously. I am unable to reproduce this
using these steps.

What version of Visual Studio .NET are you using?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
References: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
<IF************ **@cpmsftngxa07 .phx.gbl>
<9L************ ********@news01 .bloor.is.net.c able.rogers.com >
<e0************ **@TK2MSFTNGP12 .phx.gbl>
<T5************ **@cpmsftngxa07 .phx.gbl>Subject: Re: HTML Designer Problems
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <6G************ *****@twister01 .bloor.is.net.c able.rogers.com >
Date: Wed, 19 Nov 2003 20:48:02 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069274882 24.157.22.156 (Wed, 19 Nov 2003 15:48:02 EST)NNTP-Posting-Date: Wed, 19 Nov 2003 15:48:02 EST
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
phx.gbl!newsfee d00.sul.t-online.de!newsf eed01.sul.t-online.de!t-online.de!e
usc.inter.net!p riapus.visi.com !news-out.visi.com!pe tbe.visi.com!ne ws-out1.nn
tp.be!propagato r2-sterling!news-in-sterling.newsfe ed.com!news-in-sterling.nu
thinbutnews.com !newsfeed.mount aincable.net!cy clone01.bloor.i s.net.cable.rog e
rs.com!twister0 1.bloor.is.net. cable.rogers.co m.POSTED!not-for-mailXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1913 79
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

These are the steps to reproduce.

I can see that would be a problem but this is not what happened in my case.
I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I moved
(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problems
it would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old name
no problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.



Nov 18 '05 #8
VS 2003
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:xM******** ******@cpmsftng xa07.phx.gbl...
Lloyd,

This is the same post you made previously. I am unable to reproduce this
using these steps.

What version of Visual Studio .NET are you using?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
References: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
<IF************ **@cpmsftngxa07 .phx.gbl>
<9L************ ********@news01 .bloor.is.net.c able.rogers.com >
<e0************ **@TK2MSFTNGP12 .phx.gbl>
<T5************ **@cpmsftngxa07 .phx.gbl>
Subject: Re: HTML Designer Problems
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <6G************ *****@twister01 .bloor.is.net.c able.rogers.com >
Date: Wed, 19 Nov 2003 20:48:02 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069274882 24.157.22.156

(Wed, 19 Nov 2003 15:48:02 EST)
NNTP-Posting-Date: Wed, 19 Nov 2003 15:48:02 EST
Path:

cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8 phx.gbl!newsfee d00.sul.t-online.de!newsf eed01.sul.t-online.de!t-online.de!e usc.inter.net!p riapus.visi.com !news-out.visi.com!pe tbe.visi.com!ne ws-out1.nn tp.be!propagato r2-sterling!news-in-sterling.newsfe ed.com!news-in-sterling.nu thinbutnews.com !newsfeed.mount aincable.net!cy clone01.bloor.i s.net.cable.rog e rs.com!twister0 1.bloor.is.net. cable.rogers.co m.POSTED!not-for-mail
Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1913 79X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

These are the steps to reproduce.

I can see that would be a problem but this is not what happened in my case.I had an array (my term) of buttons corresponding to each first letter of
the alphabet. I was using the caption on the button as an index to get
information. Now the information for xyz is found in one source so I
combined 3 buttons into one and added through a copy a new button for
numeric items with caption 1-9.

When I copied the button it placed it at the top left corner. When I moved(drag and drop) the button the problem was created. The IDE for HTML is
certainly not as rigorous in the design mode. I have had so many problemsit would take a book to enumerate them.

Another problem is in the following:
Create a control.
Give it an ID
Delete the control
Create a new one
Give it same name as deleted control
This generally give an invalid option dialog (I suppose for the id since
that is what I change in the properties dialog).

If I get out of IDE and get back in I can add the control with the old nameno problem. Perhaps MS has implemented the (if the car does not work get
out and then back in and try again) solution.


Nov 18 '05 #9
I'm not sure what to tell you, Lloyd. I tried reproducing this on Visual
Studio .NET 2003, and it does not reproduce for me. If you can give me
steps to reliably reproduce this problem, I can look into it. Otherwise,
there's not much I can do.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
References: <2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
<IF************ **@cpmsftngxa07 .phx.gbl>
<9L************ ********@news01 .bloor.is.net.c able.rogers.com >
<e0************ **@TK2MSFTNGP12 .phx.gbl>
<T5************ **@cpmsftngxa07 .phx.gbl>
<6G************ *****@twister01 .bloor.is.net.c able.rogers.com >
<xM************ **@cpmsftngxa07 .phx.gbl>Subject: Re: HTML Designer Problems
Lines: 96
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <DR************ *******@news04. bloor.is.net.ca ble.rogers.com>
Date: Wed, 19 Nov 2003 23:16:51 GMT
NNTP-Posting-Host: 24.157.22.156
X-Complaints-To: ab***@rogers.co m
X-Trace: news04.bloor.is .net.cable.roge rs.com 1069283811 24.157.22.156 (Wed, 19 Nov 2003 18:16:51 EST)NNTP-Posting-Date: Wed, 19 Nov 2003 18:16:51 EST
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!newsfe ed00.sul.t-online.de!t-online.de!peern ews3.colt.net!n ews0.de.
colt.net!news-fra1.dfn.de!npe er.de.kpn-eurorings.net!n ewsfeed.news2me .com!ne
wsfeed.mountain cable.net!cyclo ne01.bloor.is.n et.cable.rogers .com!news04.blo o
r.is.net.cable. rogers.com.POST ED!not-for-mailXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1914 35
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

VS 2003
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:xM******* *******@cpmsftn gxa07.phx.gbl.. .
Lloyd,

This is the same post you made previously. I am unable to reproduce this
using these steps.

What version of Visual Studio .NET are you using?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
>From: "Lloyd Sheen" <sq************ *******@tostops pamhotmail.com>
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>References:

<2v************ ********@twiste r01.bloor.is.ne t.cable.rogers. com>
<IF************ **@cpmsftngxa07 .phx.gbl>
<9L************ ********@news01 .bloor.is.net.c able.rogers.com >
<e0************ **@TK2MSFTNGP12 .phx.gbl>
<T5************ **@cpmsftngxa07 .phx.gbl>
>Subject: Re: HTML Designer Problems
>Lines: 30
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <6G************ *****@twister01 .bloor.is.net.c able.rogers.com > >Date: Wed, 19 Nov 2003 20:48:02 GMT
>NNTP-Posting-Host: 24.157.22.156
>X-Complaints-To: ab***@rogers.co m
>X-Trace: twister01.bloor .is.net.cable.r ogers.com 1069274882 24.157.22.156
(Wed, 19 Nov 2003 15:48:02 EST)
>NNTP-Posting-Date: Wed, 19 Nov 2003 15:48:02 EST
>Path:

cpmsftngxa07.p hx.gbl!cpmsftng xa10.phx.gbl!TK 2MSFTNGXA05.phx .gbl!TK2MSFTNGP 0

8

phx.gbl!newsfe ed00.sul.t-online.de!newsf eed01.sul.t-online.de!t-online.de!e

usc.inter.net! priapus.visi.co m!news-out.visi.com!pe tbe.visi.com!ne ws-out1.n

n

tp.be!propagat or2-sterling!news-in-sterling.newsfe ed.com!news-in-sterling.n

u

thinbutnews.co m!newsfeed.moun taincable.net!c yclone01.bloor. is.net.cable.ro g

e
rs.com!twister0 1.bloor.is.net. cable.rogers.co m.POSTED!not-for-mail
>Xref: cpmsftngxa07.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:191 379 >X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>These are the steps to reproduce.
>
>I can see that would be a problem but this is not what happened in mycase. >I had an array (my term) of buttons corresponding to each first letter
of >the alphabet. I was using the caption on the button as an index to get
>information. Now the information for xyz is found in one source so I
>combined 3 buttons into one and added through a copy a new button for
>numeric items with caption 1-9.
>
>When I copied the button it placed it at the top left corner. When I

moved >(drag and drop) the button the problem was created. The IDE for HTML is
>certainly not as rigorous in the design mode. I have had so manyproblems >it would take a book to enumerate them.
>
>Another problem is in the following:
> Create a control.
> Give it an ID
> Delete the control
> Create a new one
> Give it same name as deleted control
>This generally give an invalid option dialog (I suppose for the id since
>that is what I change in the properties dialog).
>
>If I get out of IDE and get back in I can add the control with the oldname >no problem. Perhaps MS has implemented the (if the car does not work get >out and then back in and try again) solution.
>
>
>
>
>



Nov 18 '05 #10

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

Similar topics

0
1760
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow developers to create WYSWIG Layouts in a snap. The toolset allows developers to easily impliment object oriented rich visual layouts that can be saved in a structured developer defined (extension wise) file format that is similiar to MS Word and can...
10
26874
by: john T | last post by:
Is there anyway to vertically center a html table using css in such a way it does not alter the html table. When I tryied it just screws up.
5
485
by: Jay Kim | last post by:
Hi, We're implementing a Windows application using Visual Basic .NET. One of the key features we need to implement is that we should be able to get the accurate byte offset of user selected text in the file. We've been trying to use the RichTextBox control to load a file, and get the offset when the user selects some text in the file. It's been working ok with regular text files, but we can't use the RichTextBox control to handle
2
3773
by: meburke | last post by:
I've written quite a bit of early php code, but nothing really web and database-specific (more like administrative and maintenance stuff for LINUX), but now I need to develop some serious web applications. Since I wanted to be portable, I installed Apache, MySQL and PHP5 on one of my Windows XP laptops. I'm having problems: First, I can't find a REALLY good editor for php on Windows. If anyone out here knows of a really good editor I would be...
1
1893
by: Jim | last post by:
I have some complex (fairly) user controls that I have created. Some of those user controls host other user controls. When I host one of these on a WinForm, I sometimes run into problems where the designer blows up with an "Object Reference Not Set to an Instance of an Object". Sometimes it even (so kindly) "munches" my code in the hosting control. Unfortunately, it seldm if ever tlss "where" exactly the problem occurred, and to my...
19
2978
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and provide an open TD with a DIV in it for the content of this formlet. (The DIV is for DHTML to hide and show the content) I've created a web page showing step by step the two problems I'm encountering. This problem is much easier to see than it...
13
1286
by: Lloyd Sheen | last post by:
I am out of my mind fighting with the IDE HTML editor. Beyond the fact that reformatting the text is brain dead (and I am not just talking about the switching from design to HTML). I am putting in a filter to provide a gradient background. Insert the code into the HTML and switch to design. Voila it shows. Back to HTML and back to design. It is gone. The worst thing is that I can see no change to the BODY tag. This is beyond...
1
1600
by: E. Tom Jorgenson | last post by:
I've run into a problem on a couple of projects that I think I've identified - but would like confirmation of what I think is going on. Also interested in any fast solutions to fix the user controls/pages that resulted from this. On these projects the page design was done with designers who used pure HTML with an HTML editing tool outside of Visual Studio. The developers then created the empty pages/user controls, copied the HTML code...
12
3933
by: Dave G | last post by:
Apologies if this has been covered before - I couldn't find it. I currently use ASPEmail to create and send HTML emails from an Access database. The text is personalised and includes embedded graphics, eg logos and even the recipients photo. Note that everything is embedded, no attachments are sent. ASPEmail works a treat but is very long winded to create. The email designs come to me as finished HTML but I have to extract the source and...
0
8829
marktang
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...
0
8726
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,...
0
9361
Oralloy
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...
1
9125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5972
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();...
0
4482
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3186
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
3
2125
bsmnconsultancy
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...

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.