S
shapper
Hello,
I have a control inside a custom control. The control tree is has
follows:
ListView > EditItemTemplate > CustomControl A > CustomControl B >
Literal
I need to bind the Literal so I did the following:
Dim lvdiContainer As ListViewDataItem =
CType(myLiteral.NamingContainer, ListViewDataItem)
This does not work because myLiteral.NamingContainer returns Custom
Control B.
If I have the following control tree it works:
ListView > EditItemTemplate > Literal
Could someone, please, tell me how to solve this problem?
Thanks,
Miguel
I have a control inside a custom control. The control tree is has
follows:
ListView > EditItemTemplate > CustomControl A > CustomControl B >
Literal
I need to bind the Literal so I did the following:
Dim lvdiContainer As ListViewDataItem =
CType(myLiteral.NamingContainer, ListViewDataItem)
This does not work because myLiteral.NamingContainer returns Custom
Control B.
If I have the following control tree it works:
ListView > EditItemTemplate > Literal
Could someone, please, tell me how to solve this problem?
Thanks,
Miguel