locked
Asp.net MVC4 Html.Actionlink with Javascript variables RRS feed

  • Question

  • Hi,

    I'm using Html.Actionlink, Html.ActionLink("Download Report", "GetReport", "BIReport", new {type = fileType}),  in MVC4 to download a file. However, I have no ideal how to pass fileType which is a variable coming from Javascript.

    Thanks,

    Bo  

    • Moved by Eyal Solnik Sunday, October 19, 2014 9:35 PM Irrelevant to C#
    • Moved by Dave PatrickMVP Sunday, October 19, 2014 9:49 PM
    Sunday, October 19, 2014 7:20 PM

Answers

  • I'd try them over here.

    Microsoft ASP.Net MVC forum

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, October 20, 2014 3:14 PM
    • Marked as answer by Just Karl Monday, October 27, 2014 3:08 PM
    Sunday, October 19, 2014 9:48 PM