弹出控件扩展器 [英] popup control extender

查看:97
本文介绍了弹出控件扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<asp:Panel ID="Panel1" runat="server">
<asp:Button ID="Button1" runat="server" Font-Bold="True" Font-Names="Sylfaen" 
Font-Size="Medium" ForeColor="#990099" onclick="Button1_Click" Text="Show the shopping cart" Width="190px" />


<asp:PopupControlExtender ID="Button1_PopupControlExtender" runat="server" PopupControlID="Panel1" CommitProperty="value" Enabled="True" Position="Center"
TargetControlID="Button1" OffsetX="500" OffsetY="100">



被尝试过,但是在此我不知道如何打印这样的消息

输入运输信息即可完成订单"

请帮助我完成此操作.....



am tried like that but in this i dont know how to print the message like that

"Enter shipping information and the order can be completed"

plz help me to finish this.....

推荐答案

您的代码应该看起来像这样.需要显示的内容应在PopupControlID中提及.

Your code should seem something like this. The content you need to display should be mentioned in the PopupControlID.

<asp:popupcontrolextender id="PopupControlExtender1" runat="server" xmlns:asp="#unknown">
   TargetControlID="Button1" 
   PopupControlID="Panel1" 
   Position="Right" 
   CommitProperty="value" 
   OffsetX="3"> 
</asp:popupcontrolextender>
<asp:panel id="Panel1" runat="server" xmlns:asp="#unknown">
<asp:label id="lblInfo" text="Enter shipping information and the order can be completed" runat="server"></asp:label>
</asp:panel>


这篇关于弹出控件扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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