r0k3t
Jan 26th, 2008, 09:27 AM
Hi there,
I just started with mono on ubuntu 7.10.
This is the issue - If I place a label on a page I can't see it in the code behind. It is like it can't seem to see any of the web controls. This is what I had to do to get it to work.
Label lbl = Page.FindControl("lbl") as System.Web.UI.WebControls.Label;
lbl.Text = "This is a test...";
Am I missing something? shouldn't I be able to see this control?
Thanks!
I just started with mono on ubuntu 7.10.
This is the issue - If I place a label on a page I can't see it in the code behind. It is like it can't seem to see any of the web controls. This is what I had to do to get it to work.
Label lbl = Page.FindControl("lbl") as System.Web.UI.WebControls.Label;
lbl.Text = "This is a test...";
Am I missing something? shouldn't I be able to see this control?
Thanks!