NavigateURL

Last post 11-16-2005 9:35 AM by exptrade2000. 7 replies.

Sort Posts:

  • NavigateURL

    11-15-2005, 6:23 PM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710

    I want to navigate from one view control to another and I use NavigateUrl for it but it does not work. I issue command Response.Redirect(NavigateUrl(ControlKey.ViewReport)), but I just get a blank page.  I added a control to module definition with a key "ViewReport" and set it up as View type control. What else I need to do to make this happen. What is 'View Order' used for?


    You died at the very end of your life
  • Re: NavigateURL

    11-15-2005, 6:24 PM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710
    You died at the very end of your life
  • Re: NavigateURL

    11-15-2005, 6:27 PM
    • Participant
      1,755 point Participant
    • CasperJuna
    • Member since 10-22-2004, 10:59 AM
    • The Netherlands
    • Posts 351
    response.redirect(editurl("viewreport"))

    That should do the trick... good luck!
  • Re: NavigateURL

    11-15-2005, 6:32 PM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710

    I know about EditUrl but I do not want to set any edit right on this page. This is a purely navigation. I need to know how to do this as I will have to have multiple default views based on module settings, so I need to know how to redirect.

     

    You died at the very end of your life
  • Re: NavigateURL 3.2

    11-15-2005, 6:33 PM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710
    BTW I use 3.2
    You died at the very end of your life
  • Re: NavigateURL

    11-16-2005, 12:23 AM
    • Member
      85 point Member
    • mlonwebdev
    • Member since 10-07-2004, 12:13 AM
    • Posts 17

    I think you need the moduleId as a paramater as well (if the control is part of the same module definition)

    Try using NavigateUrl(Me.TabId, ControlKey.ViewReport, "Mid=" & moduleId)

  • Re: NavigateURL

    11-16-2005, 9:34 AM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710
    Great, that did it. Thank You very much.
    You died at the very end of your life
  • Re: NavigateURL

    11-16-2005, 9:35 AM
    • Contributor
      3,309 point Contributor
    • exptrade2000
    • Member since 03-03-2004, 5:01 AM
    • Allen, TX
    • Posts 710
    But I wonder now, what are all these overloads for? I mean they are all public.
    You died at the very end of your life
Page 1 of 1 (8 items)