在asp.net中重写网址 [英] Url rewritting in asp.net
本文介绍了在asp.net中重写网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为网站应用URL重写时遇到错误.
例如,我像这样在web.config中应用了注册表格,
I am getting an error when I apply URL rewriting for a website.
For example, I applied registration form in web.config like this,
<urlmappings enabled="true">
<add url="~/ureg" mappedurl="PresentationTier/Screens/E-Commerce_Screens/UserRegister.aspx" />
</urlmappings>
但是在注册表中单击下拉列表(带有autopostback=true
)事件时出现错误.
它不会使用vb重定向到asp.net2.0中的旧映射URL.
预先感谢,
Ramakrishna
But I am getting error when click on drop down list (with autopostback=true
) event occurs in registration form.
Its not redirecting to old mapped url in asp.net2.0 using vb.
Advance thanks ,
Ramakrishna
推荐答案
这可能会有所帮助:
http://learn.iis.net/page.aspx/460/using -the-url-rewrite-module/ [设置表单元素的回发URL [ ^ ]
问候
Espen Harlinn
This might help:
http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/[^]
See Setting the Postback URL for the Form Element[^]
Regards
Espen Harlinn
在下面查看artilce
使用ASP.NET进行URL重写
如果发现有用,请接受答案:)
Check out below artilce
URL Rewriting with ASP.NET
Accept the answer if found useful :)
这篇关于在asp.net中重写网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文