This is a real tricky issue, and I'm hoping someone here may have some
insight.
I'm building a custom control which, when done, will allow shorthand
entries in a template to be re-interpreted by the parser as data-bound
controls.
For example:
<itemtemplate>
<tr>
<td>[CustomerName]</td>
</tr>
</itemtemplate>
Would be built internally as something with the functional equivalent
of:
<itemtemplate>
<tr>
<td><asp:Literal Text="<%# DataBinder.Eval(Container.DataItem,
"CustomerName") %>" runat="server" /></td>
</tr>
</itemtemplate>
However, to actually make this work, I somehow have to use a custom
TemplateBuilder, and I wouldn't know where to start. Can anyone point
me in the right direction? Even if it's only to someone else that
might be able to answer my questions?
Thanks,
JK