How to copy aspx web pages during development_AX
Author:Eve Cole
Update Time:2009-06-30 16:57:11
A simple copy /paste *.aspx web page uses the same CodeBehind, which is often not what we want!!!
We generally want these two web pages to have their own *.cs files.
step:
①Create a new WebForm.
② Switch both the source and target web pages to the HTML design page, and replace the entire HTML code with a copy
Key: [Do not copy or replace the first line of code with a yellow background]
③Replace all *.cs codes of the source and target web pages,
Key: [Change the copied class name to the name of your new WebForm]