Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
<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.....
Posted
Updated 22-Apr-12 21:35pm
v3
Comments
Sandeep Mewara 23-Apr-12 4:58am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

1 solution

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

ASP.NET
<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>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900