Ich möchte die Variablen itemId und entityModel an ActionResult CreateNote senden:
public ActionResult CreateNote(
[ModelBinder(typeof(Models.JsonModelBinder))]
NoteModel Model, string cmd, long? itemId, string modelEntity)
mit diesem Javascript:
Model.meta.PostAction = Url.Action("CreateNote", new { cmd = "Save", itemId = itemId, modelEntity = modelEntity});
Die gesendete URL lautet jedoch
localhost:1304/Administration/blue/en-gb/Entity/CreateNote?modelEntity=Phrase&itemId=44
Ich will etwas senden
localhost:1304/Administration/blue/en-gb/Entity/CreateNote?modelEntity=Phrase&itemId=44
Wie kann ich verhindern, dass Url.Action das & vor die zweite Variable stellt, die ich senden möchte?
&
das nicht in Ordnung ist?