L
Louis Yeung
Hi,
I created my very first code-behind user control (ascx) and tried to used it
in the aspx within the same project. I have the following questions:
1. Can I select the user control and drag it into the aspx designer view? I
dragged the ascx from the solution explorer view. VS2003 created a design
time item on the top left corner, but I cannot move it to my intended
position? I am confused that the ascx designer view stated doing something
extra if you need to position the user control.
2. If I expose new properties and methods in the user control and uses it in
aspx, does VS2003 know these new properties (i.e. intelligense) and methods?
I am trying to dive into server control.
3. If my solution has multiple projects and my user control is in project A,
then project B in my solution cannot use this user control. Please confirm.
Thanks in advance.
...Louis Yeung
I created my very first code-behind user control (ascx) and tried to used it
in the aspx within the same project. I have the following questions:
1. Can I select the user control and drag it into the aspx designer view? I
dragged the ascx from the solution explorer view. VS2003 created a design
time item on the top left corner, but I cannot move it to my intended
position? I am confused that the ascx designer view stated doing something
extra if you need to position the user control.
2. If I expose new properties and methods in the user control and uses it in
aspx, does VS2003 know these new properties (i.e. intelligense) and methods?
I am trying to dive into server control.
3. If my solution has multiple projects and my user control is in project A,
then project B in my solution cannot use this user control. Please confirm.
Thanks in advance.
...Louis Yeung