Maximise from code behind not working!

2 posts, 0 answers
  1. Joe Bohen
    Joe Bohen avatar
    71 posts
    Member since:
    May 2009

    Posted 25 Feb 2012 Link to this post

    I have a radtileview with a small number of tiles and I am attempting to loop through the tiles and maximse each one in turn form code behind. I get the  'Object reference not set to an instance of an object.' error when maximise is called. Can you put me right with this.

    The Code:


    For I As Integer = 0 To Me.RadTileView1.Items.Count - 1

    Dim item As RadTileViewItem = TryCast(Me.RadTileView1.Items(6), RadTileViewItem)

    item.TileState =





  2. Zarko
    Zarko avatar
    755 posts

    Posted 27 Feb 2012 Link to this post

    Could you please send us some code snippets from the XAML where you define the RadTileView(and it's items) because I wasn't able to reproduce your problem? I've attached the sample project which I used for testing so you could examine it and see if it helps you.

    Kind regards,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top