previous page

Results 1 to 2 of 2

Thread: previous page

  1. #1
    Join Date
    Dec 1969

    Default previous page

    Hi guys I have a Previous Page link on my page: <BR>I have a href = get the previous page<BR>Dim url as string=Request.UrlReferrer.ToString()<BR><BR>PROBL EM: it works fine; however I have an edit column in my datagrid and when that is activated; the url becomes the current page not the previous; how can I work around this?<BR><BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: previous page

    In the page load<BR>If not Page.IsPostBack Then<BR> ViewState("url") = Request.UrlReferrer.ToString()<BR>End If<BR><BR>Something like that should save it.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts