The HTTP verb POST used to access path is not allowed

前端 未结 3 1640
青春惊慌失措
青春惊慌失措 2020-12-22 03:34

I am not using URL Rewriting, my app works fine until I try to hit a .PDF file or even a .TXT file via a link that I have dynamically generated into the PostBackUrl of a Lin

3条回答
  •  滥情空心
    2020-12-22 03:51

    Don't use a LinkButton. Use a HyperLink control.

    The HyperLink control has a NavigateUrl property that you can use.

提交回复
热议问题