如何从webconfig获取映射的URL? [英] How to get a Mapped Url from webconfig?

查看:106
本文介绍了如何从webconfig获取映射的URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在页面加载时从webconfig获取映射的网址!我有一个用户控件,因为我有要提交的按钮!完成功能后,我想从webconfig重定向映射的url!

解决方案

URLMAPPING [ ^ ]和 [ ^ ]可能会为您提供帮助.

在网页源代码中搜索此关键字形式.您将在form方法中找到一个action属性.您可以在其中看到该页面的实际URL.


页面的源代码
< form name ="aspnetForm" method ="post" action ="search.aspx?cat = 1" id ="aspnetForm">

当实际网址映射网址时

谢谢
互联网营销


How to get a Mapped Url from webconfig on a page load! I have a user control ,in that i am having button to submit! After finishing the functionality i want to redirect the mapped url from webconfig!
Is it any code there to retrieve mapped url in page load!

解决方案

URLMAPPING[^] and this[^] might help you.


search this keyword form in source code of web page . you will find an action attribute in form method. where you can see actual URL of that page.


Source Code of Page
<form name="aspnetForm" method="post" action="search.aspx?cat=1" id="aspnetForm">

While actual url is mapping URL

Thanks
Internet Marketing


这篇关于如何从webconfig获取映射的URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆