How do I access a Control in the LayoutTemplate of a ListView control?
LayoutTemplate
ListView
I need to get to litControlTitle and set its Text
litControlTitle
Text
The complete solution:
In codebehind:
protected void OnLayoutCreated(object sender, EventArgs e) { (lv.FindControl("lt_Title") as Literal).Text = "Your text"; }