Some assistance with ASP.NET form creation... -


i have list of forms in source control.

contentrequest.aspx contentrequest.aspx.cs default.aspx default.aspx.vb 

i have use of these forms create additional forms, using 1 of above forms template of sorts.

i'm not sure how that. can provide me guidance?

-kt

you can create copy of whole aspx form want duplicate. in vs, right click on project(website) in solution explorer -> add -> new -> web form. name newname. copy default.aspx newname.aspx , same aspx.cs files.

then have change source code of newname.aspx file on first line:

codefile="default.aspx.cs" inherits="_default" -> codefile="newname.aspx.cs" inherits="_newname" 

and in newname.aspx.cs file:

class _default : page -> class _newname : page 

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -