This is a migrated thread and some comments may be shown as answers.

Refresh After Change to RowsCount

1 Answer 109 Views
Panorama
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 23 Jun 2015, 05:34 PM

I have allowed my user to change the number of Rows in a Group residing in a Panorama via a form with a Property Grid (see image 5_Rows.png).  After this value has changed, and the property is updated, all of the existing tiles are pushed together (see image 6_RowsSaved.png).  The only thing that fixes this is if I change the size of the Panorama (which is a child control of a split panel - I am actually just moving the splitter and the tiles seem to refresh after that).

 Can you tell me how I can refresh the tile positions programmatically after I have updated the RowsCount property?

 

Thanks!

Laura

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Jun 2015, 12:45 PM
Hello Laura,

Thank you for writing.

I confirm that it is an issue with RadPanorama. I have logged it in our feedback portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to invalidate the RadPanorama:
this.radPanorama1.PropertyChanged+=radPanorama1_PropertyChanged;
private void radPanorama1_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    if (e.PropertyName=="RowsCount")
    {
        this.radPanorama1.PanoramaElement.InvalidateMeasure(true);
    }
}

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Panorama
Asked by
Laura
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or