我正在按需使用webtab如何在内容网址中传递动态值?我在后面的代码中使用以下代码,它不起作用
WebTab.Tabs[0].ContentUrl = string.Format("{0}/AgreementTabContent/Summary.aspx?Id={1}&RegardingId={2}", ConfigurationManager.AppSettings["Path"], Request.QueryString["Id"], Request.QueryString["RegardingId"]);
我的aspx页面有
<ig:WebTab ID="WebTab" runat="server" Width="100%" StyleSetName="Claymation" >
<tabs>
<ig:ContentTabItem Key="Summary" runat="server" Text="Summary"
</ig:ContentTabItem>
答案 0 :(得分:1)
这适用于web配置传递空值
<add key="Path" value="" />
<add key="BetaDirectory" value="" />