Copied to clipboard

Flag this post as spam?

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


  • kristian schneider 190 posts 351 karma points
    Mar 04, 2012 @ 18:00
    kristian schneider
    0

    V5 - Html.BeginUmbracoForm does not render htmlattributes

    I am trying to render a form on a in a view and am using the BeginUmbracoForm extension, but it does not work as expected.

    The code is as follows:

    @using (Html.BeginUmbracoForm("Index", "UploadSurface", new  { enctype = "multipart/form-data", id = "fileupload"}))

    since I need to set the id and enctype put the output is rendered as:

    <form action="/shop/upload" method="post"> 

    without he enctype and id.

    What am I doing wrong?

    /Kristian

     

     

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 04, 2012 @ 21:02
    Jeroen Breuer
    0

    This is not implemented yet: http://issues.umbraco.org/issue/U5-551

    Jeroen

  • kristian schneider 190 posts 351 karma points
    Mar 05, 2012 @ 14:24
    kristian schneider
    0

    Cheers Jeroen.

    I've given it a vote up

     

    /Kristian

  • BJ Patel 84 posts 210 karma points
    Mar 30, 2015 @ 19:31
    BJ Patel
    0

    Can you please share the solution as the following link in not working..

    http://issues.umbraco.org/issue/U5-551 ==> "This page was not found"

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 31, 2015 @ 09:21
    Jeroen Breuer
    0

    Umbraco 5 was cancelled a long time ago so all the issues have been removed.

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies