There is no ctx.Link functionality for client-side use, but there are a number of approaches you can take, here are a few:

  1. Generate the components needing id on the server side, where you have ctx.Link.
  2. Redesign your page by moving the action that needs id to the client, and use client-server calls where necessary. IOW, use client-server calls instead of new actions.
  3. Get the URL from the server by passing it the necessary arguments (id) => requires an extra client-server roundtrip, usually not recommended.

Feel free to describe your use case in more detail.

By on 6/9/2015 6:23 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper