P
Progman
From the VB script, how can I access the "HyperLinkStatementQuestionF" Text
property?
Actually I tried me.HyperLinkStatementQuestionF.Text = "Something"
I could never get to HyperLinkStatementQuestionF from "me" !
It looks like that the objects inside a repeater cant be access.
========
<asp:TableRow ID="TableRowCenterF" runat="server" HorizontalAlign="Center"
Width="100%" BorderStyle="Ridge" Height="370px">
<asp:TableCell ID="TableCell2F" runat="server" VerticalAlign="Top"
HorizontalAlign="Left" Width="100%" BorderStyle="Ridge">
<asp:Repeater ID="RepeaterQuestionF" runat="server" >
<ItemTemplate>
<asp:HyperLink ID="HyperLinkStatementQuestionF" runat="server"
NavigateUrl='<%#"~/Programs/Questions.aspx?Region=" +
LTrim(Str(DataBinder.Eval(Container.DataItem, "Region"))) + "&Question=" +
LTrim(Str(DataBinder.Eval(Container.DataItem, "NextQuestionId"))) +
"&Answer=" + LTrim(Str(DataBinder.Eval(Container.DataItem, "OrderNo")))%>'
Text='<%# DataBinder.Eval(Container.DataItem, "StatementF") %>'
font-size="Large" />
</ItemTemplate>
</asp:Repeater>
</asp:TableCell>
</asp:TableRow>
property?
Actually I tried me.HyperLinkStatementQuestionF.Text = "Something"
I could never get to HyperLinkStatementQuestionF from "me" !
It looks like that the objects inside a repeater cant be access.
========
<asp:TableRow ID="TableRowCenterF" runat="server" HorizontalAlign="Center"
Width="100%" BorderStyle="Ridge" Height="370px">
<asp:TableCell ID="TableCell2F" runat="server" VerticalAlign="Top"
HorizontalAlign="Left" Width="100%" BorderStyle="Ridge">
<asp:Repeater ID="RepeaterQuestionF" runat="server" >
<ItemTemplate>
<asp:HyperLink ID="HyperLinkStatementQuestionF" runat="server"
NavigateUrl='<%#"~/Programs/Questions.aspx?Region=" +
LTrim(Str(DataBinder.Eval(Container.DataItem, "Region"))) + "&Question=" +
LTrim(Str(DataBinder.Eval(Container.DataItem, "NextQuestionId"))) +
"&Answer=" + LTrim(Str(DataBinder.Eval(Container.DataItem, "OrderNo")))%>'
Text='<%# DataBinder.Eval(Container.DataItem, "StatementF") %>'
font-size="Large" />
</ItemTemplate>
</asp:Repeater>
</asp:TableCell>
</asp:TableRow>