在做url重写时,Postback不起作用 [英] while doing url rewriting, Postback not works
本文介绍了在做url重写时,Postback不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在运行我的asp.net应用程序时,我将进行URL重写。
i有网页即
1.Default.aspx(起始页) - 主页
2.About.aspx
3.Description.aspx
运行时,URL可能是
http:// localhost:9025 / Default.aspx [ ^ ]
i需要它喜欢
http:// localhost:9025 / Home [ ^ ]
解决方案
参考此链接: ASP.NET 2.0中的URL重写使用简单的代码示例 [ ^ ]
http://dotnetguts.blogspot.com/2008/07/url-rewriting -with-urlrewriternet.html
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-与-ASP-net.aspx
while running my asp.net application i will do URL rewriting.
i have web pages namely
1.Default.aspx(Start Page) - Home Page
2.About.aspx
3.Description.aspx
While running this, URL could be
http://localhost:9025/Default.aspx[^]
i need it like
http://localhost:9025/Home[^]
解决方案
refer this link : URL rewriting in ASP.NET 2.0 with simple code sample[^]
http://dotnetguts.blogspot.com/2008/07/url-rewriting-with-urlrewriternet.html
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
这篇关于在做url重写时,Postback不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文