Saturday, 15 August 2015

c# - How can i find a control in the footer template of a data repeater -


Text after "

ASPX: code

& lt; ASP: Repeater ID = "Repeater" runat = "Server" & gt;

& lt; HeaderTemplate & gt; & Lt; / HeaderTemplate & gt;

& lt; ItemTemplate & gt; & Lt; / Item timeplay & gt;

& lt; Footer & gt; & Lt; Asp: Verbatim id = findme runate = server & gt; & Lt; / FooterTeplate & gt;

& lt; / Asp: repeater & gt;

What I'm seeing is to be able to get the source code within the control of the data rapist footprint. Im basic with "FindControl" when I do a DataBind or are looking for control within the page itself, but are I familiar with how a data repeater can get control within a footer template?

Is this also possible?

[Update]

I need to be able to do this after i database

  Protected sub repeater 1_ItemDataBound (ByVal as the sender object, System byVal and .UI.WebControls.RepeaterItemEventArgs) Repeater Supports I.itemDataBound if E. ITEM ITemType = ListItemType.Footer then dim Dims = CType (e.Item.FindControl ("findme"), literal) end as the end  

No comments:

Post a Comment