Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
[AspNet] Fix web forms code behind file not updated for master page.
Browse files Browse the repository at this point in the history
Fixed bug #28968 - Code behind designer file not updated for Master
page template
https://bugzilla.xamarin.com/show_bug.cgi?id=28968

Adding a new Master Page with CodeBehind file to an ASP.NET project
then adding a new server side element, such as asp:Button, and saving
the file would not generate code behind fields the content place
holder nor the button.

Using the correct case for the asp:ContentPlaceHolder element allows
the code behind designer file to generate code for controls added to
the page.

Ideally the ASP.NET addin would be case insensitive for the tag names,
the same as Visual Studio, so asp:contentplaceholder would still allow
the code behind to be generated.
  • Loading branch information
mrward committed May 5, 2015
1 parent 0265dd0 commit 0dc41a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -25,7 +25,7 @@
<body>
<div id="container">
<form runat="server">
<asp:contentplaceholder id="contentPlaceHolder" runat="server" />
<asp:ContentPlaceHolder id="contentPlaceHolder" runat="server" />
</form>
</div>
</body>
Expand Down
Expand Up @@ -25,7 +25,7 @@
<body>
<div id="container">
<form runat="server">
<asp:contentplaceholder id="contentPlaceHolder" runat="server" />
<asp:ContentPlaceHolder id="contentPlaceHolder" runat="server" />
</form>
</div>
</body>
Expand Down

0 comments on commit 0dc41a1

Please sign in to comment.