Results 1 to 5 of 5

Thread: [RESOLVED] web page hanged during opend window more than once

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Resolved [RESOLVED] web page hanged during opend window more than once

    hi,

    Anyone one here encounter the same. I included my javascript function. Thanks!

    function OpenWindow(url)
    {
    var winSettings = 'center:yes;resizable:no;help:no;status:no;dialogWidth:350px;dialogHeight:350px;statusbar:no';
    var uniqueId = new Date();
    var uniqueUrl = url + '&curdate=' + uniqueId.getTime();
    frm = window.open(uniqueUrl,'',winSettings);
    return false;
    }

  2. #2
    Frenzied Member
    Join Date
    Jan 2006
    Posts
    1,875

    Re: web page hanged during opend window more than once

    In case URL already include Parameter than igonore this post else try this

    Code:
    function OpenWindow(url)
    {
    var winSettings = 'center:yes;resizable:no;help:no;status:no;dialogWidth:350px;dialogHeight:350px;statusbar:no'; 
    var uniqueId = new Date();
    var uniqueUrl = url + '?curdate=' + uniqueId.getTime(); 
    frm = window.open(uniqueUrl,'',winSettings); 
    return false;
    }
    __________________
    Rate the posts that helped you

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: web page hanged during opend window more than once

    Yap I already have a parameter in the url field.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: web page hanged during opend window more than once

    Get the uniqueUrl value and try browsing to it directly in a new window yourself. Does the page load slowly?

  5. #5

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: web page hanged during opend window more than once

    Thanks for helping guy. I figured out the cause. It's my control wrapped in updatepanel. So the solution is I removed all my ajax control control in the modal page. It works!

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