search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to pass params with ContextMenu NavigateUrl action?

Asked by D. Ritchi
13 years ago.
I'm trying to pass a single parameter with a context menu item. From the documentation ( http://www.daypilot.org/context-menu.html ) I understood that a {0} in the url will be replaced with the event value, but this is not the case.

Using: <DayPilot:MenuItem Text="View" Action="NavigateUrl" NavigateUrl="page.aspx?id={0}" />
will bring you to "page.aspx?id={0}" , no substitution is done.

Am I missing the point?

(I'm using a javscript action for the moment to get this functionality so it's not that important).
Comment posted by Dan Letecky
13 years ago.
I'll check it.
Comment posted by Dan Letecky
13 years ago.
I confirm the bug. I've fixed it and the fix will be included in the next release.
If you need the fix now let me know at daypilot @ annpoint.com.
Comment posted by Anonymous
11 years ago.

will be nice if we could use the TAG values to build all javascript or url links.

can we do that?

<MenuItem Text="View details" Action="NavigateUrl" NavigateUrl="EventCopyTo.aspx?eventID={0}&recurID={1}" />

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.