i have a user control that i want to build on. right now it just displays a dynamic number. i want to include functionality that will convert the number into a hyperlink that opens a popup window.
label in ascx page:
<asp:Label ID="lbl_num" runat="server" Text="0"></asp:Label>
First of all, you may use the
Hyperlinkelement instead ofLabel. You should add theTargetattribute:Anytime, you can change it’s value with C#: