ASP.NET ascx vs. aspx - Do you reuse user controls?

后端 未结 4 2298
孤城傲影
孤城傲影 2021-02-20 07:26

Our team is developing a rather big ASP.NET web project which initially started in ASP.NET 1.0 and was ported several times to all new versions of .NET.

We made extensiv

4条回答
  •  鱼传尺愫
    2021-02-20 08:07

    I would use usercontrols still, and mainly because you can disassociate content from design this way much more easily which will ultimately help a lot when you are changing the design of the application.

    It also makes it a bit easier to move the controls around on the page than if you had to cut/paste code all over the place.

提交回复
热议问题