Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Controls within asp:Table cannot be selected

$
0
0

I am unable to select anything within an asp:Table. For example with:

<asp:Table runat="server"><asp:TableRow><asp:TableCell HorizontalAlign="Center" Width="300px"><asp:Button runat="server" Text="Move" ID="MoveButton"
				UseSubmitBehavior="False" />&emsp;<asp:Button runat="server" Text="ToTop" ID="ToTopButton"
				UseSubmitBehavior="False" /><hr /><p>This is my left side.</p></asp:TableCell><asp:TableCell><p>This is my right side.</p></asp:TableCell></asp:TableRow></asp:Table><asp:Button runat="server" Text="Go" ID="Button1"
	UseSubmitBehavior="False" />

In the designer when I click on a control in the table I get:

In the source view if I click on the button in the table then the properties window does not have the lightening bolt at the top for the events. When I click on the Go button in both the designer and source views I get the events. I can add events by typing in the code but it seems to be a bug that the properties window does not list the events whereas it does when the control is not in a table.

This appears to have existed for a long time; see Visual Studio designer event problem | The ASP.NET Forums. Should I report it as a bug?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>