473,722 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Editing an ASP:Table using Design View in Visual Studio

When editing an ASP Table, Visual Studio does not allow me to edit it in
Design View. This makes it harder to add elements, because I must add every
element either by using Design View to create the element outside of the
table and then using cut & paste in HTML View to move it to the desired
location, or by manually typing the code in using HTML View. The first
technique sometimes does not automatically update the list of elements
declared in the Protected WithEvents area of the code, and the second
technique never adds them to begin with. Why am I not allowed to use Design
View to add and edit elements inside ASP Tables? It is very frustrating and
sometimes time consuming to do everything involving ASP Tables manually,
especially when the HTML View constantly rearranges my code. Any suggestions
or word about improvements to this in future versions? (I know that the code
rearranging is supposed to be fixed in VS 2005, but I have not heard
anything about the ASP Table issue) Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/
Nov 19 '05 #1
4 3935
People here is for ASP.NET, not ASP. By the way, what is ASP table? in ASP,
there is only Html table. In ASP.NET, you have the same html table and Table
as web control, which you can use "TableRow Collection Editor" to design it
quite easily (but not perfect, I know). As for VS2005, do not expect
anything if you meant ASP, not ASP.NET.

"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:u$******** ******@TK2MSFTN GP12.phx.gbl...
When editing an ASP Table, Visual Studio does not allow me to edit it in
Design View. This makes it harder to add elements, because I must add every element either by using Design View to create the element outside of the
table and then using cut & paste in HTML View to move it to the desired
location, or by manually typing the code in using HTML View. The first
technique sometimes does not automatically update the list of elements
declared in the Protected WithEvents area of the code, and the second
technique never adds them to begin with. Why am I not allowed to use Design View to add and edit elements inside ASP Tables? It is very frustrating and sometimes time consuming to do everything involving ASP Tables manually,
especially when the HTML View constantly rearranges my code. Any suggestions or word about improvements to this in future versions? (I know that the code rearranging is supposed to be fixed in VS 2005, but I have not heard
anything about the ASP Table issue) Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

Nov 19 '05 #2
On 6/15/05 22:01, in article u$************* *@TK2MSFTNGP12. phx.gbl, "Nathan
Sokalski" <nj********@hot mail.com> wrote:
When editing an ASP Table, Visual Studio does not allow me to edit it in
Design View. This makes it harder to add elements, because I must add every
element either by using Design View to create the element outside of the
table and then using cut & paste in HTML View to move it to the desired
location, or by manually typing the code in using HTML View. The first
technique sometimes does not automatically update the list of elements
declared in the Protected WithEvents area of the code, and the second
technique never adds them to begin with. Why am I not allowed to use Design
View to add and edit elements inside ASP Tables? It is very frustrating and
sometimes time consuming to do everything involving ASP Tables manually,
especially when the HTML View constantly rearranges my code. Any suggestions
or word about improvements to this in future versions? (I know that the code
rearranging is supposed to be fixed in VS 2005, but I have not heard
anything about the ASP Table issue) Thanks.


VS 2005 has completely new, significantly improved table editor.

Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights

Nov 19 '05 #3
Maybe I was not clear in my description. I probably said ASP because the
tagname is asp:table, but I actually meant an ASP.NET table. What I was
basically asking is is there a way to use the Design View to edit an ASP.NET
Table the same way it lets you edit an HTML Table? Visual Studio's Design
View lets me insert elements into an HTML Table, but it does not let me
insert elements into an ASP.NET Table. If I insert elements into an ASP.NET
Table using HTML View, they are displayed in Design View, but I cannot
select them to edit properties, delete them, etc. In other words, when it
comes to ASP.NET Tables, everything must be manually done in code.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Norman Yuan" <No*****@NotRea l.not> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
People here is for ASP.NET, not ASP. By the way, what is ASP table? in
ASP,
there is only Html table. In ASP.NET, you have the same html table and
Table
as web control, which you can use "TableRow Collection Editor" to design
it
quite easily (but not perfect, I know). As for VS2005, do not expect
anything if you meant ASP, not ASP.NET.

"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:u$******** ******@TK2MSFTN GP12.phx.gbl...
When editing an ASP Table, Visual Studio does not allow me to edit it in
Design View. This makes it harder to add elements, because I must add

every
element either by using Design View to create the element outside of the
table and then using cut & paste in HTML View to move it to the desired
location, or by manually typing the code in using HTML View. The first
technique sometimes does not automatically update the list of elements
declared in the Protected WithEvents area of the code, and the second
technique never adds them to begin with. Why am I not allowed to use

Design
View to add and edit elements inside ASP Tables? It is very frustrating

and
sometimes time consuming to do everything involving ASP Tables manually,
especially when the HTML View constantly rearranges my code. Any

suggestions
or word about improvements to this in future versions? (I know that the

code
rearranging is supposed to be fixed in VS 2005, but I have not heard
anything about the ASP Table issue) Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/


Nov 19 '05 #4
Yeah, that is what I am doing: in one of my project: I need to place button
in a cell of table web control and I can only write code in HTML view (or do
it dynamically at runtime). I do not see what other way you can do it.
Hopefully VS2005 can make it easier, as the other post said.

"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:Ok******** *****@TK2MSFTNG P09.phx.gbl...
Maybe I was not clear in my description. I probably said ASP because the
tagname is asp:table, but I actually meant an ASP.NET table. What I was
basically asking is is there a way to use the Design View to edit an ASP.NET Table the same way it lets you edit an HTML Table? Visual Studio's Design
View lets me insert elements into an HTML Table, but it does not let me
insert elements into an ASP.NET Table. If I insert elements into an ASP.NET Table using HTML View, they are displayed in Design View, but I cannot
select them to edit properties, delete them, etc. In other words, when it
comes to ASP.NET Tables, everything must be manually done in code.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Norman Yuan" <No*****@NotRea l.not> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
People here is for ASP.NET, not ASP. By the way, what is ASP table? in
ASP,
there is only Html table. In ASP.NET, you have the same html table and
Table
as web control, which you can use "TableRow Collection Editor" to design
it
quite easily (but not perfect, I know). As for VS2005, do not expect
anything if you meant ASP, not ASP.NET.

"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:u$******** ******@TK2MSFTN GP12.phx.gbl...
When editing an ASP Table, Visual Studio does not allow me to edit it in Design View. This makes it harder to add elements, because I must add

every
element either by using Design View to create the element outside of the table and then using cut & paste in HTML View to move it to the desired
location, or by manually typing the code in using HTML View. The first
technique sometimes does not automatically update the list of elements
declared in the Protected WithEvents area of the code, and the second
technique never adds them to begin with. Why am I not allowed to use

Design
View to add and edit elements inside ASP Tables? It is very frustrating

and
sometimes time consuming to do everything involving ASP Tables manually, especially when the HTML View constantly rearranges my code. Any

suggestions
or word about improvements to this in future versions? (I know that the

code
rearranging is supposed to be fixed in VS 2005, but I have not heard
anything about the ASP Table issue) Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/



Nov 19 '05 #5

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

Similar topics

2
5184
by: Murtix Van Basten | last post by:
Hi, I dont know it is doable, but I wanna ask it anyway. I am pulling 5 different data from a datatable row by row. So each row has 5 fields and row count is variable not a constant. So, each row's fields will be shown in a table in a different design. That means, I cannot use DataGrid, because the view should be different. Here is the html:table structure fo each datarow:
1
1738
by: Ed. | last post by:
I apologize if this is a stupid question. When working with the <asp:Table> component in design mode, how do you select controls placed in the table cells? I can only seem to click on the table itself rather than the individual components within the cell. Also, what's the advantage of using <asp:Table> rather than just a simple <Table>? Thanks.
2
2683
by: Kevin | last post by:
I am just learning asp.net and ran into a problem that I have not been able to resolve. I have a web form with an html table that houses an asp:label, asp:textbox and asp:button within. I had the click event of the asp:button working. I then decided to drop an asp:table on the form and then added the three component mentioned above into the asp:table. Now I cannot find a way to set the click even of the asp:button anymore. In fact,...
1
1596
by: Max | last post by:
I'd like to use asp:table, instead of HTML tables, but in VS.NET it appears I cannot do anything with the contents of a table in design view. I tried to bring it into Dreamweaver, but same result. Should I go back to using regular HTML tables or is there a better way? The problem is VS.NET does not even have split code view, so it's not very easy to edit in html and really see what you're doing in complex designs. -Max
5
2102
by: Ken Dopierala Jr. | last post by:
Hi, This is just a query about what people use most. Up until today I've been using <asp:Table> tags to build my tables. We just outsourced our HTML design to a local guy and when I got it back today I was working with the html <table> <tr> <td> etc. What a difference that makes, server controls are even automatically declared in the code behind when using the generic HTML controls. I think I'm going to switch over to using them...
0
1394
by: Kristoffer Arfvidson | last post by:
HI! I have the following javascript events in my normal tables. onMouseOver,onMouseOut and onClick Now, when I try to put this in my asp:tablerow it just gets an error msg that literal text is not allowed in tablerow... :( When I tryed to put this table as a normal <table> it works, but, for some reason it automaticly makes an </td></tr> before the new asp:table comes in... therefore not achieving my goals in design... :(
8
3888
by: tatemononai | last post by:
I had a beautiful script that was running, well, just beautifully. But then I decided to take a button that fired an event and place it inside a <asp:table. The event WILL NOT FIRE INSIDE THE TABLE!?! When I move the button outside the table, it works just fine. Inside the table, it doesn't. What gives?
4
2835
by: Guy Noir | last post by:
So, I have a table that I only want to appear after some event has fired. Using the asp:table control and the Visible property, this is a piece of cake. The problem is that when I try and drop a label control or any other asp:control to the table, the designer view gives me the old circle and slash saying "Nope, can't do that". Am I correct to assume then that one cannot place an asp:control in an asp:cell? If I am wrong here, other...
1
1353
by: kal | last post by:
Hi. I was using html <tableto sort my layout in a master page and have changed it to a <asp:table> but the problem i am having is that this seems to disable the design view of VWD. any ideas why this is and how to get around it? Thanks
0
8739
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,...
1
9157
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
9088
tracyyun
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...
0
8052
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...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
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
4502
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...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
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 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.