TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Administrator
Tech Writer
2.2k
1.5m
exposing the methods of your dynamically created usercontrol
Apr 14 2003 2:51 AM
Hi, I'm completely new to all this, so my apologies if this may sounds like a stupid, half-a-zillion times asked question. BUT..... This is what I'm trying to do. I have a main aspx.net page that places one of my usercontrols dynamically on the page. The number of controls being added depends on the number of records in a database. Since I use the usercontrol to display the data in the database(in the form of a table), I need set-methods to send the data to the control. Unfortunately, the main aspx.net page doesn't seem to recognize the property, and keeps telling me: "'Titel' is not a member of 'System.Web.UI.UserControl'." -------------------------------------------------------------------------------------------- This is the code of the main aspx.net page (sarcastically, named simple4.aspx): --------------------------------------------------------------------------------------------- <%@page explicit="true" language="vb" debug="true" %> <%@import namespace="System.data" %> <%@import namespace="System.data.oledb"%> <%@import namespace="System.Web.UI"%> <%@ Register TagPrefix="aspfd" tagname="simple3" src="simple3.ascx" %> ----------------------------------------------------- This is my (simplified) uc named simple3.ascx ----------------------------------------------------- <%@ Control explicit="true" language="vb" debug="true" %> Thx for any help. Greetz
Reply
Answers (
4
)
What is AppDomain?
Web Services and Threads