locked
Open Source Code Read-Only RRS feed

  • Question

  • User323983933 posted

    Ok, this is about the 90th time I have made this mistake.  Too many all-nighters trying to get a web site done.

    I have Page1.aspx working and I want to make 3 similar pages - in fact I want them to share a lot of the same code (with slight modifications of course).

    So I open Page2 in one tab and Page1.aspx in the other, and after a couple hours I find that I am EDITING the WRONG Source.

    What I'd like to do is open the completed form in ReadOnly mode so I am locked out of accidentally changing it (like File-Open-Readonly). 

    Doable?  I'd rather not have to set it readonly in the Windows Explorer.

     

    Friday, May 16, 2014 6:02 PM

Answers

  • User-1716253493 posted

    Maybe you can use copy website facility from website menu

    You can connect to another folder in file system, Local IIS, FTP, or Remote website.

    There are two windows there,

    left side is current website that you edit

    right side is working website

    You can copy file from left to right vice versa.

    Now, dont worry about wrong source, you can delete, rename, modify whatever in left side because working website is right side.

    You can copy from left side to right side after finished editing

    Copy from right to left side to get original file.

    Don't edit working website directly.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 16, 2014 9:05 PM