Problem: Modify Hyperlink property from a repeater

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top