开发者

Help with ASP.net Code

开发者 https://www.devze.com 2023-02-07 14:00 出处:网络
<asp:Content ID=\"Content2\" ContentPlaceHolderID=\"ContentPlaceHolder1\" Runat=\"Server\"> <h3>Request ID:<%开发者_如何学运维=Request[\"request_id\"]%></h3>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h3>Request ID:<%开发者_如何学运维=Request["request_id"]%></h3>
</asp:Content>

The Code above is not working. How do I display the request id without touching the code behind file?


Try:

http://YOUR_SERVER/your_aspx_file.aspx?request_id=2134234


Please check your html source code if the <h3> tag is inside. Because if it is not, the placeholder is hidden oder the inner controls has been removed before rendering.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号