Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vinoth 2 posts 22 karma points
    Jun 15, 2013 @ 00:01
    vinoth
    0

    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!!

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Jun 15, 2013 @ 00:30
    Alex Skrypnyk
    0

    Hello,

    Just create usercontrol or razor view and insert it into the master page of your page.

    Thanks,

    Alex

  • Charles Afford 1163 posts 1709 karma points
    Jun 15, 2013 @ 17:04
    Charles Afford
    0

    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 :)

     

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft