twaldron

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: adding a parameter to pass to asp.net mvc controller #93433
    twaldron
    Participant

    OlegK said:

    Hello twaldron,

    if you really want to have date as a parameter of your conctoller, then you need at least modify url parameter of the jqGrid from

    “DealerServices/JsonScheduledSpas/” to some with the date inside of url. Then you need add coresponding template in you MVC application which difines from which part of url the date should be fiiled.

    Best regards

    Oleg


    Right, thats exactly what I am asking. How do I do that?

    in reply to: ASP.NET MVC Html.ActionLink in jqgrid #93424
    twaldron
    Participant

    An action result will not work for this as far as I know.

    The actionResult helper automatically encodes HTML, you don't want this. Other wise you will see the actual html show up as text in the girdview.

    You can however just give it a string that has an the html with the hfref set to 'controller/action/id' this should work for you just fine.

    i would use the invioce number as your ID, and your text for the link

    🙂

Viewing 2 replies - 1 through 2 (of 2 total)

Stay connected with us in your favorite flavor!