Results 1 to 2 of 2

Thread: [2008] Opening a file dynamically

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2006
    Location
    UK / East Sussex
    Posts
    1,054

    [2008] Opening a file dynamically

    Good Afternoon,

    An annoying one that is bugging us:


    We have a list of catagories on a website then when a catagory is selected a list of documents is picked up. Now there is also a button on the page (asp.net button)

    When a document is seleceted it posts it url to the button then hitting the button should open the selected document now the majority of these documents will be word, excel or pdf.

    What happens when we try: postbackurl command we get the following html error:
    'The http verb is not allowed'

    That is when the url is: http://www.ourdomain.com/ourdocument.doc

    If we change that url to: http://www.ourdomain.com

    then the listed way works perfectly. Has anyone seen or heard of this or even better know how to open a document with a button in such a way we can edit the opening url in runtime.

    Thanks,
    Max
    M.Carpenter

    Server Admin for Wurm Online
    Wurm Online - A very unique and original MMO from Code Club AB
    https://www.youtube.com/watch?v=YQlYar2uHWAWurm Trailor


  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2008] Opening a file dynamically

    Are you doing a Response.Redirect in the button's click event? Show code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width