|
-
Jan 26th, 2008, 10:27 AM
#1
Thread Starter
Hyperactive Member
asp + mono, can't see web controls (newbie...)
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.
Code:
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!
-
Jan 29th, 2008, 05:43 AM
#2
Re: asp + mono, can't see web controls (newbie...)
What version of ASP.NET does Mono 'emulate'? You may need to do this in pre-rendering (declaring a variable of the same name/type) if it's a pre 2.0 version.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|