RE: dynamically load a HTML page (or a Word document),

Discussion in 'ASP .Net' started by =?Utf-8?B?U3VyZXNo?=, Feb 25, 2004.

  1. In a Client/Server based environment such as the internet the state is not maintained and the client and server detach themselves from each after the server processes the request and sends the response to the client(browser)

    So in your scenario when the user opens(downloads the document) by clicking on the link they are actually getting a copy of the word document to their own machine from the server. Any changes they make to that document will not be reflected to your original document in the server

    In order to get the results you want you have to have the user upload the document back to the server once they've completed their changes. Then on the server side you would replace the original with the copy that's being uploaded back to the server

    Here's an example on how to upload files to the server
    http://samples.gotdotnet.com/quicks...lref/htmlctrl/HtmlInputFile/doc_inputfile.asp

    You will also need to give the ASPNET webuser write permissions on the server directory where the word docs will be stored. Evaluate your network security before you do this

    HTH
    Suresh

    ----- KnotKnormal wrote: ----

    I would like to dynamically load a HTML page (or a Word document), which is embedded in a table when the user clicks on a hyperlink to go from HTML page one to HTML page two. For example, I would like the secretary at a school to update a Word document concerning homework assignments. This Word document would reside on the server. When changes are made it, these changes are automatically updated to the web page. This would simplify life immensely.

    I am a “newbie†so please be very specific as to how to do this. How can I do this
     
    =?Utf-8?B?U3VyZXNo?=, Feb 25, 2004
    #1
    1. Advertising

  2. thx Suresh!

    this is pretty much what i wanted

    Thank you!
     
    =?Utf-8?B?S25vdEtub3JtYWw=?=, Feb 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Laura
    Replies:
    1
    Views:
    564
    Gunnar Hjalmarsson
    Jun 5, 2004
  2. Earl Teigrob
    Replies:
    6
    Views:
    7,947
    wadewalker25
    Sep 28, 2007
  3. srk
    Replies:
    0
    Views:
    691
  4. Sujith Gangaraju

    word document in html html format

    Sujith Gangaraju, Jul 24, 2008, in forum: Ruby
    Replies:
    3
    Views:
    182
    Jeremy Heiler
    Jul 24, 2008
  5. icogs
    Replies:
    0
    Views:
    154
    icogs
    Jan 31, 2008
Loading...

Share This Page