SPARE GmbH
Top achievements
Rank 2
SPARE GmbH
asked on 05 Apr 2012, 11:14 AM
Hy,
I Hooked up the RadTileView with the Events LayoutChangeStarted(Animation Beginn) and LayoutChangeEnded(Animation End),
but they are not fired, even i Maximize a TileViewItem.
Wha'ts wrong?
Greetings
Alfred
I Hooked up the RadTileView with the Events LayoutChangeStarted(Animation Beginn) and LayoutChangeEnded(Animation End),
but they are not fired, even i Maximize a TileViewItem.
Wha'ts wrong?
Greetings
Alfred
4 Answers, 1 is accepted
0
Hi Alfred,
The LayoutChangeStarted and LayoutChangeEnded events are obsoleted and that's why they are not fired. Instead (in most cases) you can use the PreviewTilesStateChanged, PreviewTilePositionChanged, TilesStateChanged and TilePositionChanged events. Also there's a feature request for new more accurate animation events in our PITS here.
If you tell us what exactly is your case we'll help you find the right events for it.
We are looking forward to hearing from you.
Regards,
Zarko
the Telerik team
The LayoutChangeStarted and LayoutChangeEnded events are obsoleted and that's why they are not fired. Instead (in most cases) you can use the PreviewTilesStateChanged, PreviewTilePositionChanged, TilesStateChanged and TilePositionChanged events. Also there's a feature request for new more accurate animation events in our PITS here.
If you tell us what exactly is your case we'll help you find the right events for it.
We are looking forward to hearing from you.
Regards,
Zarko
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
SPARE GmbH
Top achievements
Rank 2
answered on 10 Apr 2012, 12:22 PM
Hy Zarko,
Thanks for your Answer.
I have te following Scenario.
I have n Number of TileViewItem in my TileViewControl. Each Item, has a Instance of a PDF inside. Each PDF Instance load a different PDF File. I i have 10 Item's in Normal Mode all PDFViewer Renders fast, but if I Maximize or Minimize one, the Animation is getting pretty slow, because all PDF Instance would be Minimized to. If i would have an Event, witch is triggert after the Maximized Animation is done, i can Display the PDFInstance of the Mazimixed Item after that.
That is the Reason, why i need a Event, witch is firred after the Minimized Animation is done.
Greetings
Aflred
Thanks for your Answer.
I have te following Scenario.
I have n Number of TileViewItem in my TileViewControl. Each Item, has a Instance of a PDF inside. Each PDF Instance load a different PDF File. I i have 10 Item's in Normal Mode all PDFViewer Renders fast, but if I Maximize or Minimize one, the Animation is getting pretty slow, because all PDF Instance would be Minimized to. If i would have an Event, witch is triggert after the Maximized Animation is done, i can Display the PDFInstance of the Mazimixed Item after that.
That is the Reason, why i need a Event, witch is firred after the Minimized Animation is done.
Greetings
Aflred
0
Accepted
Hello Alfred,
If I understand you correctly you want to hide the PDFs before the resize animation and show them again after it? If this is the case you'll have to use the PreviewTileStateChanged(or TileStateChanged) event and a dispatcher timer.
I've attached a sample project that shows how you can do this so could you please examine it and if you have further questions please feel free to ask.
Regards,
Zarko
the Telerik team
If I understand you correctly you want to hide the PDFs before the resize animation and show them again after it? If this is the case you'll have to use the PreviewTileStateChanged(or TileStateChanged) event and a dispatcher timer.
I've attached a sample project that shows how you can do this so could you please examine it and if you have further questions please feel free to ask.
Regards,
Zarko
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
SPARE GmbH
Top achievements
Rank 2
answered on 13 Apr 2012, 09:41 AM
Hy Zarko,
Thanks for your Answer.
You are my Hero. :)
That was exactly the Workaround that i was looking for.
Cool thank you.
Greetings from Switzerland
Alfred
Thanks for your Answer.
You are my Hero. :)
That was exactly the Workaround that i was looking for.
Cool thank you.
Greetings from Switzerland
Alfred