Results 1 to 5 of 5

Thread: Browser control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2005
    Posts
    137

    Browser control

    Morning

    Im in the middle of building a basic browser for users to view the Intranet on and ive hit a brick wall. Im trying to create the forward and back buttons for navigation but can't find out how to tell wether there is a page back or forward?
    i.e. if the browser has just opened then the forward and back buttons should be disabled.

    ive looked on Microsoft and they mention the "CanGoBack" property but I dont seem to have this option

    any ideas

    p.s. This is my first attempt at C#. Nice forum by the way

  2. #2
    Member
    Join Date
    Mar 2005
    Posts
    43

    Re: Browser control

    Can't you work with a session, each time your surf the session +1
    or something like that?

  3. #3
    Lively Member
    Join Date
    May 2004
    Location
    malaysia
    Posts
    89

    Re: Browser control

    Quote Originally Posted by Draven Chen Zhen
    Can't you work with a session, each time your surf the session +1
    or something like that?
    what if the user go back and forth, where as the session will keep increase...

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Browser control

    Quote Originally Posted by kkc
    what if the user go back and forth, where as the session will keep increase...
    You could start the session at 0. Each forward will increment by one, and each back will decrement by one.

  5. #5
    Lively Member
    Join Date
    May 2004
    Location
    malaysia
    Posts
    89

    Re: Browser control

    if that is the case, you have to take care of the session expire if the user is idle too long.

Posting Permissions

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



Click Here to Expand Forum to Full Width