ModalPopupExtender reponses slow

Last post 11-02-2008 7:30 AM by murtazahrizvi. 1 replies.

Sort Posts:

  • ModalPopupExtender reponses slow

    10-31-2008, 5:00 AM
    • Member
      140 point Member
    • navpreet1982
    • Member since 02-04-2008, 7:59 AM
    • United States
    • Posts 33

    Hi ,

     In my asp.net 2005 web application i am using modalpopepextender control and opening the same through javascript as follows.

    function fnopenMordal()

    {

    var modalPopupBehavior = $find('programmaticModalPopupBehavior');

    modalPopupBehavior.show();

    }

    but due to large HTML (over 1 mb of text) modalPopupBehavior.show(); responses too slow, it takes around 10 seconds to come up. i cant do it through postback i need a quick fix from javascript only.

    Thanks in advance,

    Navpreet Singh

     

     

     

     

  • Re: ModalPopupExtender reponses slow

    11-02-2008, 7:30 AM
    Answer
    • Participant
      794 point Participant
    • murtazahrizvi
    • Member since 09-03-2008, 12:53 AM
    • Pakistan
    • Posts 141

    Have you tried changing your script manager's Mode to

    ScriptMode="Release"

    But anyways 1 MB is huge for ajax call, try reducing the size. May be implement IIS compression.

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d52ff289-94d3-4085-bc4e-24eb4f312e0e.mspx

     

    When the going gets tough - the tough gets going

    ------------------------------------------------------------------
    If you find this helpful then please mark this post as Answer.
Page 1 of 1 (2 items)