FooterTemplate

1 Answer 58 Views
ListView - Xamarin.Android
zhe
Top achievements
Rank 1
Iron
Iron
zhe asked on 22 Apr 2022, 07:26 AM
Radlistview is bound with footertemplate. Can you get the buttons in the template. I can't get the control through name.

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 22 Apr 2022, 08:55 AM

Hello Zhe,

When a component is inside a DataTemplate it is no longer in the same scope of the page. This is why you can't just access it using an x:Name from the code behind. 

Alternative approaches you can use are described here: https://www.telerik.com/forums/access-control-inside-the-listview#4941761 

Regards,

Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ListView - Xamarin.Android
Asked by
zhe
Top achievements
Rank 1
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or