Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=76216 --- shadow/76216 2005-09-28 05:23:27.000000000 -0400 +++ shadow/76216.tmp.25265 2005-09-28 08:37:59.000000000 -0400 @@ -166,6 +166,54 @@ ------- Additional Comments From [EMAIL PROTECTED] 2005-09-27 21:11 ------- A datasouce isn't necessary. All you need to do is try to add some text to the label control. ------- Additional Comments From [EMAIL PROTECTED] 2005-09-28 05:23 ------- If you have the test, please, attach it. + +------- Additional Comments From [EMAIL PROTECTED] 2005-09-28 08:37 ------- +<%@ Control Language="c#" AutoEventWireup="false" +Src="Banner.ascx.cs" %> <asp:label id="Greeting" runat="server" +forecolor="#ffffff"></asp:label> +<asp:hyperlink id="UserLink" runat="server" visible="true" +forecolor="#ffffff"></asp:hyperlink> + + +namespace CarlsWebs.CarlOlsen.Web.Controls { + using System; + using System.Data; + using System.Drawing; + using System.Web; + using System.Web.UI.WebControls; + using System.Web.UI.HtmlControls; + using CarlsWebs.WebModules.Accounts.Business; + + public class Banner : System.Web.UI.UserControl + { + protected System.Web.UI.WebControls.Label Greeting; + protected System.Web.UI.WebControls.HyperLink +UserLink; + + private void Page_Load(object sender, +System.EventArgs e) + { + Greeting.Text = "Welcome"; + Greeting.Text += "Guest User."; + UserLink.Text = "Click to Login"; + UserLink.NavigateUrl = +"/Modules/Users/Login.aspx"; + + override protected void OnInit(EventArgs e) + { + base.OnInit(e); + InitializeComponent(); + } + + private void InitializeComponent() + { + this.Load += new +System.EventHandler(this.Page_Load); + + } + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
