I have a custom control like this:
<YY:Control id="Control1" attrib1="1" attrib2="20" attrib3="12"/>
Is it possible for me to do the following to make my attribN's dynamic? If
so, what do I have to do/add to my control (like, IEnum?) ? If not, are
there ways to go around it?
<YY:Control id="Ctrl1"
attrib1='<%# DataBinder.Eval(Container.DataItem, "DBField1") %>'
attrib2='<%# .... %>'
attrib3='<%# .... %>'
/>
Because the custom control I have by itself is like f(attrib1, attrib2,
attrib3), it does something with those attributes and gives output. But I
am reluctant to do database retrievals *within* the custom control logics,
as it will make my control less flexible...
Any help is appreciated...