Loading...

Multiple httprequest parameters in Context Menu Action

Multiple httprequest parameters in Context Menu Action

Home Forums QuickApps Forum Multiple httprequest parameters in Context Menu Action

  • This topic is empty.
Viewing 2 reply threads
  • Author
    Posts
    • #3853
      Anonymous
      Anonymous
      Participant

      In my qListView I have added a context menu action  that tries to pass two httprequest parameters through to another page (ie the desired result would be addmenu.aspx?ID=2&Restaurant=Pizza).

      I have added both parameters in (see below) but only the ID is passed through. So when the “Add Menu” is clicked in the context menu it only goes to addmenu.aspx?ID=2 and doesn’t include the &Restaurant=Pizza into the address.

      Any ideas or suggestions?

      Thanks,

      Dan

      screen1.jpg

    • #7189
      Anonymous
      Anonymous
      Participant

      Thanks . Worked great when I changed the Source to ListItem.

    • #5130
      Anonymous
      Anonymous
      Participant

      Hi Dan

      The configuration for this context menu seems all right. Please make sure the page containing this configured qListView web part starts the page url with those parameters. After all, the web part is going to retrieve those parameters from the page url query string and add them to the GoToUrl specified url as query string parameters. For example, the page url should be something like http://mysite/start.aspx?ID=2&Resturant=Pizza to start with.

      The reason ID is automatically append is by design. The list item selected by the context menu is used to append its id. If your list item displays the Resturant column, you may consider using different Source such as ListItem.

Viewing 2 reply threads

You must be logged in to reply to this topic.