hello team i am new to umbraco and i had seen some video for creating pages.. but most of the videos are saying to create pages with user control. but i want to create pages like custom control and the pages should be get edited.
i am getting pages like in documented view but i want to create 2 textboxes for login.. please help me to implement!!
Yea i would you the razor MVC approach, you need to set the umbracoconfig from WEBFORMS to MVC. Then create a VIEW in Umbraco in the templates folder. If you are doing something like that i would look at using some complied code and surface controllers (http://our.umbraco.org/documentation/Reference/Mvc/surface-controllers)
So you would do this by creating a class liabary project and then building that in to the bin of your umbraco install and then calling the class/method in your view.
@model.yourcode.yourcode (At the top of your view)
creating web page for login and edit
hello team i am new to umbraco and i had seen some video for creating pages.. but most of the videos are saying to create pages with user control. but i want to create pages like custom control and the pages should be get edited.
i am getting pages like in documented view but i want to create 2 textboxes for login.. please help me to implement!!
thanx in advance!!
Hello,
Just create usercontrol or razor view and insert it into the master page of your page.
Thanks,
Alex
Yea i would you the razor MVC approach, you need to set the umbracoconfig from WEBFORMS to MVC. Then create a VIEW in Umbraco in the templates folder. If you are doing something like that i would look at using some complied code and surface controllers (http://our.umbraco.org/documentation/Reference/Mvc/surface-controllers)
So you would do this by creating a class liabary project and then building that in to the bin of your umbraco install and then calling the class/method in your view.
@model.yourcode.yourcode (At the top of your view)
@Model.methodnames
Hope this helps :)
is working on a reply...