How to save the web page which embedded with asp pages into html page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pravin23pawar
    New Member
    • Dec 2011
    • 3

    How to save the web page which embedded with asp pages into html page

    guyes,
    i am trying to write the application which saves the web page in html format on local path.
    But this aspx page contains the 3 classic asp pages,so i am not getting any help to make this possible.
    sample code
    Code:
    Dim myWebClient As New WebClient
            Dim cred As New NetworkCredential("***removed***", "***removed***")
            myWebClient.Credentials = cred
            myWebClient.DownloadFile("http://www.pscs.kcc.com/Clearance.asp?cnbr=C2011-2783", "C:\msdn.html")
    pls help me.Note. http://www.pscs.kcc.com/Clearance.asp?cnbr=C2011-2783 this page contains the asp pages with 2 differnt tab on it and i need those tab data too on my html page.thankx in advance.
    Last edited by acoder; Dec 19 '11, 08:34 PM. Reason: Removed sensitive info for your protection! + added [code] tags
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Take your login information out of the post, you shouldn't post your usernames and passwords on public forums.

    As for your question, just save each ASP page separately.

    Comment

    • pravin23pawar
      New Member
      • Dec 2011
      • 3

      #3
      Rabbit thanks for your suggestion and reply...how can i identify the asp pages within the single aspx page and i need to save them as a single html page as it is visible on site.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        You can't save it as a single page because it sounds like it's using AJAX to fill in the data on those tabs. You can find the path to the asp file from the source.

        Comment

        • pravin23pawar
          New Member
          • Dec 2011
          • 3

          #5
          thankx for reply Rabbit...actual ly the above link includes the 3 asp pages, it's not using AJAX. On the main page there is 3 tabs and on every tab asp page gets the call, so i want those tab data also on my html page.how can i do it?

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            That link doesn't work.

            Comment

            Working...