I have a created an ascx form that is loaded from a couple different pages. The end-goal is to change a couple urls (in the control's Text value) depending on which page has loaded the ascx form.
form.ascx
<asp:RadioButtonList ID="rdType" runat="server" RepeatColumns="1" RepeatLayout="Table" CssClass="rbChoice">
<asp:ListItem Value="Dependent" Text="<%= Eval('isExteal') %> <%=isExteal%> />
</asp:RadioButtonList>
This outputs both the tags w/o any compilation. If I put "<%=isExteal%>" or "<%#isExteal%>" just before the asp:radio control it displays the variable value as expected. I have tried to add Page.Databind() and rdType.Databind() to the onload event of the ascx.cs file
