[CLOSED] Redirect Ext.Net 2.0 Page to Ext.Net 1.0 Page slow response

  1. #1

    [CLOSED] Redirect Ext.Net 2.0 Page to Ext.Net 1.0 Page slow response

    HI Ext.net Team,
    I want to redirect Ext.Net 2.0 Page to Ext.Net 1.0 Page, but it's slow response.
    <script type="text/javascript">
    function redirectToAMPage() {
                this.location = '../Ext10/Scheduler.aspx';
            }
    </script>
    
    Ext.Net 2.0 Page
    <ext:Button ID="btnGPAutoMode" runat="server" Text="Scheduler (Auto-Mode)" OnClientClick="redirectToAMPage();" Icon="ApplicationStart"></ext:Button>


    Click image for larger version. 

Name:	RidirectPage.png 
Views:	33 
Size:	23.8 KB 
ID:	6039


    Any advice?
    Thanks
    Last edited by Daniil; Apr 23, 2013 at 3:56 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi @capbarbell,

    but it's slow response.
    Do you mean it takes much time for loading?

    How is that page loaded without redirection? Faster?
    Last edited by Daniil; Apr 19, 2013 at 6:57 AM.
  3. #3
    Hi Daniil,

    I have 2 web pages written with ext.net, one is using ext.net 1.0 and the other is using ext.net 2.0. And there is a redirect button in ext.net 2.0 web page to redirect page from ext.net 2.0 one to ext.net 1.0 one.

    Now the problem is when user clicks the redirect button, the web page will just remains there, and it will take a while the web page then will start to redirect the page from 2.0 one to 1.0. But the same redirect function works fine if redirection is from 1.0 to 1.0 or 2.0 to 2.0. Do you have any idea?
    Click image for larger version. 

Name:	2013-04-19_RidirectPage.png 
Views:	24 
Size:	36.2 KB 
ID:	6069


    And there is my code using to redirect web page. FYI

    <script type="text/javascript">
    function redirectToAMPage() {
                this.location = '../Ext10/Scheduler.aspx';
            }
    </script>
    Ext.Net 2.0 Page
    <ext:Button ID="btnGPAutoMode" runat="server" Text="Scheduler (Auto-Mode)" OnClientClick="redirectToAMPage();" Icon="ApplicationStart"></ext:Button>

    Sincerely,
    Last edited by geoffrey.mcgill; Apr 19, 2013 at 6:37 AM. Reason: please use [CODE] tags
  4. #4
    Quote Originally Posted by capbarbell View Post
    Do you have any idea?
    I guess a delay is because of a browser loads new resources (CSS, JavaScript) for a new page.

    If you redirect to a page with the same Ext.NET, the resources are cached already.

Similar Threads

  1. [CLOSED] Differences between X.Redirect and Response.Redirect
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 10, 2012, 4:29 PM
  2. how to redirect page from tab 2 to tab 1
    By Fabrizio in forum 1.x Help
    Replies: 1
    Last Post: Dec 07, 2011, 8:47 AM
  3. Replies: 1
    Last Post: Aug 12, 2011, 1:35 PM
  4. In Ajaxmethod how do i redirect to next page
    By Nagaraju in forum 1.x Help
    Replies: 2
    Last Post: May 20, 2011, 4:25 AM
  5. Redirect to another page?
    By mattwoberts in forum 1.x Help
    Replies: 3
    Last Post: Dec 17, 2010, 1:54 PM

Posting Permissions