Can't get browser back button to work right with Prometheus

5 posts, 0 answers
  1. Ken
    Ken avatar
    1 posts
    Member since:
    Apr 2007

    Posted 24 Apr 2007 Link to this post

    Anyone tried to get the browser back button to work with the Prometheus release yet?

    I can't do it... Perhaps I'm missing something.

    Here's what I've done.

    -- Install the ASP.NET AJAX framework, and the ASP.NET AJAX extensions.

    -- Install the Prometheus release

    -- Build an ASP.NET Ajax-enabled website that contains two pages: Default.aspx and Error.htm

    -- On Default.aspx, I add a button (Button1), a regular ASP.NET Panel (Panel1), and the new Prometheus AjaxManager (whose seemingly relevant properties are as follows: EnablePageHeadUpdate=True; EnableAjax=True; EnableHistory=True; EnableViewState=True; also I do NOT set any ClientEvents).

    -- I also add another Button (Button2) (more on what that does in a second).

    -- In the AjaxManager configurator, I set Button1 as the control that fires the Ajax request, and Panel1 as the control that receives the request. In my code behind, for the Button1 click event, I simply add a control (a button, but it could be anything). I'll call this the "code-added control".

    -- I click on Button1, and the "code-added control" (a button, but again, could be anything) is loaded into the Panel, using Ajax of course.

    -- For the Button2 (which is not associated with Ajax manager), I have a code-behind click event that will either use Server.Transfer or Response.Redirect (I've tried both) to cause the application to transfer / redirect to Error.htm (this models what my real application will do when an error is encountered).

    -- I click on Button2, which transfers / redirects me to the Error.htm page. From here, I would expect that I could use the browser back button to navigate back to Default.aspx, and once there I would expect to see my "code-added control" still visible in Panel1. But it is not!

    Am I doing something wrong? Based on prior communication I've received from Telerik, I understood that Prometheus would have allowed me to see that "code added control" in Panel1.


    Ken Morris 
  2. Johan
    Johan avatar
    617 posts
    Member since:
    Mar 2007

    Posted 25 Apr 2007 Link to this post

    UpdatePanel by default does not support Back browser buttons. There is a custom control called UpdateHistory which can be used for that- it can be downloaded separately from

    I am not sure how they play with rad Ajax Prometheus... this is a good question for another thread. Also, what does the EnableHistory property do? No information is available on that in the docs and I see no examples with it...
  3. Vlad
    Vlad avatar
    11100 posts

    Posted 25 Apr 2007 Link to this post

    Hello Ken ,

    Indeed you are right. It seems that this is still unhandled scenario and we will do our best to cover this.

    Johan, EnableHistory is designed to provide internal ajax history support similar to traditional post-backs history. Once we test this feature in as many as possible scenarios we will add relevant examples and documentation.

    Sincerely yours,
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. surfer
    surfer avatar
    585 posts
    Member since:
    Jul 2003

    Posted 25 Apr 2007 Link to this post

    that's cool... one of the problems with updatepanel is that it requires add-ons like history for back buttons, animation for transition effect etc (whcih are not part of the official suite and not supported)

    it will be very cool if you manage to add history, animation suppotr built-in with just properties... and support that. could be a killer product.

    you also may want to a add an easy way to switch the default tag of the updatepanel - div is a block element and may screw layouts, there shuold be an easy way with the ajax manager to use span instead of div... also, an easy way to add cssclass to the panel..
  5. Vlad
    Vlad avatar
    11100 posts

    Posted 25 Apr 2007 Link to this post

    Hello surfer,

    Thank you very much for the feedback. We will do all these for sure in one of the subsequent versions of the product.

    And keep posting - we are listing as always.

    All the best,
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top