views:

392

answers:

3

I have spent a while searching google for an answer to the following question, with no luck.

Does anyone know if there is any way (at all) to use the Design view to edit the contents of an ASP.NET table control (an <asp:Table runat="server">...)?

From all that I can tell, devs are stuck coding their <asp:TableRow>s and <asp:TableCell>s by hand! This is ludicrous, given that you can use the design view as a WYSIWYG editor for standard HTML tables.

A: 

There is a Rows property you can play with in the design view.

As you add rows to the Rows collection, you have access to the Cell property as well through the dialog presented to you.

Babak Naffas
+1  A: 

In design view go tothe properties of your table and select rows and click the button. You can add rows there. Likewise the row properties has a cells property that lets you add cells one at a time.

Still pretty bad but it would cut down on the hand typing

cptScarlet
A: 

I'm having an issue where it would be quicker for me to edit the table like a static HTML table in the WYSIWYG editor.

I have an contact form (made using an asp.NET table control) and I'm adding a Captcha. I want to access a text box property from the design view in Web Dev Express and I can't. So I'm stuck with the option of copying the text box code out of the table to edit it in design view.

Very irritating in what is overall an extremely elegant and easy to use IDE.

Tim