Error when clicking on Back Button.

Last post 05-15-2008 2:29 AM by chekuriraju. 10 replies.

Sort Posts:

  • Error when clicking on Back Button.

    04-29-2008, 3:03 AM
    When clicked on back button it will be redirected to a page normally,but when i change index of drop downlist in my page and then click on back button i get a eror saying page cannot be displayed.what could be the problem???
  • Re: Error when clicking on Back Button.

    04-29-2008, 5:24 AM
    • Loading...
    • rajesh8880
    • Joined on 08-23-2007, 11:30 AM
    • India
    • Posts 96

     hi

    are you using autopostback property in your dropdownlist.

    post your code

    Regards
    Rajesh
  • Re: Error when clicking on Back Button.

    04-29-2008, 5:24 AM
    • Loading...
    • Dharmaraja
    • Joined on 03-18-2008, 5:55 AM
    • Bangalore
    • Posts 3

     Give some more details , weather u used ajax in your project ?

  • Re: Error when clicking on Back Button.

    04-29-2008, 7:13 AM

    1.yes i am using AutoPostBack=True for dropdownlists.

    2.Yes i am using Ajax in my application.

  • Re: Error when clicking on Back Button.

    04-29-2008, 7:35 AM
    • Loading...
    • rajesh8880
    • Joined on 08-23-2007, 11:30 AM
    • India
    • Posts 96

    hi

    why you are using autopostback property. is there any need? if not make it false..

     

    Regards
    Rajesh
  • Re: Error when clicking on Back Button.

    04-29-2008, 7:54 AM
    yes i need for my functionality  so i have made it true...
  • Re: Error when clicking on Back Button.

    04-29-2008, 8:16 AM
    • Loading...
    • rajesh8880
    • Joined on 08-23-2007, 11:30 AM
    • India
    • Posts 96

     hi

    better use javascript instead. if i am not correct, post your code

     

    Regards
    Rajesh
  • Re: Error when clicking on Back Button.

    05-02-2008, 3:51 AM

    chekuriraju:
    When clicked on back button it will be redirected to a page normally,but when i change index of drop downlist in my page and then click on back button i get a eror saying page cannot be displayed.what could be the problem???

    Hi chekuriraju,

    Base on my understanding, it seems the the button is the browser's back button, if so, it is hard to control, it is the behavior of browsers, and it depend on browsers.

    So I suggest you use the following two ways to instead of the back button:

    1. Use Javascript, history.go(-1)

    2. Use AJAX control, the History control.

    Note:

    History control is an AJAX control, see the introduction:

     

    One problem faced by a typical AJAX application is that a partial page update is not added to the history of the Web browser. This means that the browser’s Back button does not move back one AJAX step, but moves back one entire document, which is unlikely to be what the user expects. The ASP.NET AJAX History control allows the developer to insert history points so that the user may click the browser’s Back and Forward buttons to move between AJAX steps. 

     

     

     

    To know more, please visit this link: http://www.asp.net/learn/ajax-videos/video-149.aspx

    PS:

    1.You need to install AJAXControlTookit in your computer if you want to use AJAX control, please check out this link to download the toolkit: http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513


    2.Please check out this video if you do not know how to install AJAXControlTookit: http://download.microsoft.com/download/9/d/8/9d8a3ff9-e520-4c69-a7a0-aad7a3dc596d/HDI-02-GetStarted-AJAX-Toolkit.wmv

    Hope it helps,

    Hong Gang

    Sincerely,
    Hong Gang Chen
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Error when clicking on Back Button.

    05-08-2008, 8:51 AM

    i have followed your link and downloaded and tried to use it in my application  but i am not able to fire History1_Navigate event.where as i have tried a given example BrowserHistoryCS which is working fine...

     

     

  • Re: Error when clicking on Back Button.

    05-09-2008, 2:55 AM

    i am giving the error message for the original post....

    I have couple of drop down lists....the results are in a postback pager...i am able to page....but when i click on browser back button i get the following error and also when the click on Back button in the error page it goes to the correct page.......

    The page cannot be displayed

    The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

    Please try the following:

    • Click the refresh.gif (82 bytes) Refresh button, or try again later.
    • If you typed the page address in the Address bar, make sure that it is spelled correctly.
    • To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
    • See if your Internet connection settings are being detected. You can set Microsoft Windows to examine your network and automatically discover network connection settings (if your network administrator has enabled this setting).
      1. Click the Tools menu, and then click Internet Options.
      2. On the Connections tab, click LAN Settings.
      3. Select Automatically detect settings, and then click OK.
    • Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
    • If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    • Click the Back button to try another link.


    Cannot find server or DNS Error
    Internet Explorer

  • Re: Error when clicking on Back Button.

    05-15-2008, 2:29 AM

    I am stuck with the above problem.Help me out!!

Page 1 of 1 (11 items)