General.aspx.cs changes

Bogdan Buczek asked on May 26, 2021 18:01

I have modified a page under CMSModules/Content/CMSDesk/Properties/General.aspx.cs. I tried to set a breakpoint in Visual Studio, but it never gets hit. I tried to see if the change took effect, but it did not. I published it to Dev environment, but the changes are not showing in our Dev environment either. How to force this to replace existing file? any other pointers would be helpful.

Recent Answers


Jake Kula answered on May 28, 2021 11:26

Hi Bogdan,

The file you mention is used when viewing a node in the content tree and selecting Properties -> General. Just to get a better understanding, what is it that you have changed in the file?

0 votesVote for this answer Mark as a Correct answer

Jake Kula answered on May 28, 2021 12:48

I'm also wondering if you can try to add some temporary test HTML to the General.aspx file to see if that change is visible. For example, after line 14 of the file:

<asp:Content ID="cntBody" runat="server" ContentPlaceHolderID="plcContent">

<!-- Debug Start--> <h3>Debug Test Code</h3> <!-- Debug End -->

<asp:Panel ID="pnlContent" runat="server">

Adding this debug HTML should display the words Debug Test Code under the save button. If the HTML is visible, then it might be an issue with your back-end logic. If it is not visible, then then is could be something to do with your file system reference.

Also, is this a web application and are you building it? Or is it a web site?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.