Here is my control:
If i call event RadPanelBar1_ItemDataBound how do I get access to the controls "lbl" and "img1"?
This is what I have so far:
<radP:RadPanelbar ID="RadPanelbar1" runat="server" |
Skin="VPort" SkinsPath="~\RadControls\Panelbar\Skins" |
ExpandAnimation-Duration="0" ExpandAnimation-Type="None" |
BackColor="#FFFFFF"> |
<ItemTemplate> |
<span id='spText' onmouseover='javascript:fnChangeRowColor(this, 1);' |
style='text-align:left;float:left;display:inline;top:1px;text-decoration:underline;'> |
<asp:label ID="lbl" runat="server"></asp:label> |
</span> |
<span id='spImages' style='text-align:right;float:right;display:inline;vertical-align:middle;'> |
<asp:Image ID="img1" runat="server" ImageUrl="~/spacer.gif" |
</span> |
</ItemTemplate> |
</radP:RadPanelbar> |
If i call event RadPanelBar1_ItemDataBound how do I get access to the controls "lbl" and "img1"?
This is what I have so far:
void RadPanelbar1_ItemDataBound(object sender, RadPanelbarEventArgs e) |
{ |
RadPanelItem item = e.Item; |
DataRowView dataRow = (DataRowView)e.Item.DataItem; |
} |