locked
Why Script block is getting created dynamically (VS 2010)? RRS feed

  • Question

  • User575507413 posted

    Hi 

           I have created an application using ASP.NET, C# and run the same in Visual Studio 2010. For each button click event, code behind gets executed then around 20 script block[dynamic] file gets created before the event occurs. It increases the page load time/ even occurrence time. 

          The solution which I tried by surfing through net is run the application without debugging. In that case script block has not created and felt loading time has got reduced(not much). Kindly help me to reduce the loading time(should not take extra after code behind gets executed).

    Thanks

    Sowmiya S

    Friday, July 19, 2013 1:09 AM

Answers

  • User1083584480 posted

    Please use Fiddler to watch the response time on each object that return to the browser. that waill help you know where it is taking time.

    there is quite possible that any startup javascript/jquery is running on the form that made is slower

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 19, 2013 1:42 AM

All replies

  • User1083584480 posted

    Please use Fiddler to watch the response time on each object that return to the browser. that waill help you know where it is taking time.

    there is quite possible that any startup javascript/jquery is running on the form that made is slower

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 19, 2013 1:42 AM
  • User575507413 posted

    Thanks sumitjain. I will try to do the same

    Monday, July 22, 2013 9:34 AM
  • User-1454326058 posted

    Hi sowmis,

    Has your issue been solved, Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thanks

    BestRegards

    Friday, July 26, 2013 3:11 AM
  • User-1454326058 posted

    Hi sowmi,

    Since we haven't heard from you for a long time, I temporarily close this case. I mark useful reply as answer. If you have any concerns, please

    free feel to reopen it or submit a new question. Thanks for your understanding.

    Thanks

    Best Regards

    Monday, July 29, 2013 4:01 AM