locked
Can't view Page source in user control? RRS feed

  • Question

  • User-1731664437 posted

    Why can't I see the page source of my user control when I do view...source in the browser? I'm trying to improve my jquery and javascript skills, and to do this I really need to see how the page is rendered.

    thx.

    Monday, October 24, 2011 8:17 PM

Answers

  • User-821857111 posted

    Install Firefox if you haven't already, then use the FireBug addon to inspect the response of an asynchronous request that updates the content of the UpdatePanel. You'll see the source then.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 25, 2011 4:00 PM

All replies

  • User-821857111 posted

    Assuming that the user control rendered, the HTML that it generated will appear in your source.

    Tuesday, October 25, 2011 12:52 AM
  • User-1731664437 posted

    The usercontrol renders, I can see it and there is data in it and I can interact with it. But I can't see it in view/source. Another idea...it's wrapped inside an Updatepanel. Could that be messing me up?

    Tuesday, October 25, 2011 7:14 AM
  • User-821857111 posted

    Install Firefox if you haven't already, then use the FireBug addon to inspect the response of an asynchronous request that updates the content of the UpdatePanel. You'll see the source then.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 25, 2011 4:00 PM