This project is read-only.

If I wanna create a view page with some content block

Topics: Developer Forum
Sep 17, 2008 at 9:32 AM
Hi, all

    I saw the view page(frame page? what is has left, right, below content, left and child pages etc..) in demo project, I wanna create one has a little different from this one, but I don't know how to start.... please help me

Shingo
Sep 17, 2008 at 8:33 PM
I'd recommend you
  • Use "Templates + Sample Project" from the Relases tab
  • Open the included solution MyProject...sln in visual studio
  • Create an ASP.NET master page, add the same zones from templates top+submenu.master
  • Configure your master page in web.config <n2><templates masterPageFile="~/Layouts/MyLayout.Master"
Sep 18, 2008 at 3:05 AM
I have added top+submenu.master in my project and I got a error
Unknown server tag 'n2:Box'.
Where can I find the reference of n2:Box?

PS:
My N2.dll's version is 1.4.3.1, 488k
N2.Templates.dall's version is 1.4.3.1, 156k
Sep 18, 2008 at 4:26 AM
I've solved it, append <pages><controls><add tagPrefix="n2" namespace="N2.Templates.Web.UI.WebControls" assembly="N2.Templates"/> in webconfig.
Now I can run project as well, but when I organize parts and drag a part into contentholder, I expect the edit form will popup but nothing happend... no errors, no transfer page on status bar either.
But 'Templates + Sample Project' is work well, so I copied replace the 'Edit' folder, but it still not work.....How can I solve it?