From 0dc41a15ee7ecd9585fb7a69e1a04881a50ba9b3 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Tue, 5 May 2015 10:47:54 +0100 Subject: [PATCH] [AspNet] Fix web forms code behind file not updated for master page. 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. --- .../AspNet/Templates/WebForms/MasterPage-CodeBehind.xft.xml | 2 +- .../addins/AspNet/Templates/WebForms/MasterPage-Empty.xft.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/addins/AspNet/Templates/WebForms/MasterPage-CodeBehind.xft.xml b/main/src/addins/AspNet/Templates/WebForms/MasterPage-CodeBehind.xft.xml index 7a5848aa9e2..8163d9d9395 100644 --- a/main/src/addins/AspNet/Templates/WebForms/MasterPage-CodeBehind.xft.xml +++ b/main/src/addins/AspNet/Templates/WebForms/MasterPage-CodeBehind.xft.xml @@ -25,7 +25,7 @@
- +
diff --git a/main/src/addins/AspNet/Templates/WebForms/MasterPage-Empty.xft.xml b/main/src/addins/AspNet/Templates/WebForms/MasterPage-Empty.xft.xml index 9c3e845d881..bf173a65480 100644 --- a/main/src/addins/AspNet/Templates/WebForms/MasterPage-Empty.xft.xml +++ b/main/src/addins/AspNet/Templates/WebForms/MasterPage-Empty.xft.xml @@ -25,7 +25,7 @@
- +