How can I fix "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the conte
- by slolife
I have a user control (ascx) that I have added two public properties to: RequestTypeId and GroupId. Both have the attribute set.
In my aspx page, I have a ListView, and in the ItemTemplate, I place my control reference, like so:
<ctrl:ServiceTypeGroup runat="server" RequestTypeId="<%#RequestType.RequestTypeId%>"…