I do not do it personally, but the answer is yes. You will likely want to
expose it through a property or a method, however.
Be careful when bouncing from programatic control of the page to declarative
control. It is easy to make a mistake when you are mixing metaphors.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Zean Smith" wrote:
In ASPX, is it possible to pass an object , for example an arraylist to a
public property? something like this....
<uc1:test id="myUserControl" runat="server"
List='<%=_myArrayList%>'></uc1:test>
I know I can use:
myUserControl.List = _myArrayList;
But I just want to see if it is possible to shorten the code. Thanks