Change HtmlForm action in C# ASP.NET 3.5

后端 未结 6 1349
醉酒成梦
醉酒成梦 2021-01-18 15:11

I have a form as

When accessing in C# code-behind via



        
6条回答
  •  鱼传尺愫
    2021-01-18 16:15

    I also had the same issue recently, when posting the form action attribute would use the rewritten path, but I wanted to show the raw url. I don't have any url rewriting libraries installed.

    I found this page was very useful in getting my postbacks to work: http://www.codeproject.com/Articles/94335/TIP-How-to-Handle-Form-Postbacks-when-Url-Rewritin

提交回复
热议问题