Reload page and stay in this current page

  1. #1

    [Razor]Reload page and stay in this current page

    Hello, i want to know how i can do to stay in my current page when i reload it with f5 key in navigator. This page is load with ComponentLoader of Ext.Net when i clik over one menu button for example. Thank to all.
    Last edited by kdms; Mar 18, 2015 at 1:34 PM.
  2. #2
    You can't "force" but you can prompt the user by doing the following:

    <ext:ResourceManager WindowUnloadMsg="Are you sure you want to exit?" runat="server">
        <Listeners>
            <WindowUnload Handler="return true;" />
        </Listeners>
    </ext:ResourceManager>

Similar Threads

  1. GridPanel - Selection only from current Page
    By skaimschneider in forum 2.x Help
    Replies: 2
    Last Post: Jan 09, 2014, 5:51 AM
  2. Replies: 0
    Last Post: Jul 15, 2013, 8:34 AM
  3. How to close current tab(page)?
    By HzA in forum 1.x Help
    Replies: 7
    Last Post: Feb 21, 2013, 11:55 AM
  4. addTab but stay focus on current
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Oct 14, 2009, 12:46 PM
  5. Export only exporting what is in current page
    By rthiney in forum 1.x Help
    Replies: 1
    Last Post: Oct 13, 2009, 3:32 PM

Tags for this Thread

Posting Permissions