Hello,
Sorry for the dumb question, but i dont seem to be able to find much information on this.
Out application has a TilePanel hosting multiple tiles, with a row status button to show / hide each tile.
What is the correct way to be notified that the user has clicked the tile close button, so that we can uncheck show / hide button?
Checking VisabilityChanged doesnt seem to work as the tile goes invisible as its expanding, and the closed event never fires.fg
Thanks
Steve
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hello ,
As far as I understand your scenario, you have a list from where customer could select which tiles to be visible or not. And you have need to detect when customer closes a tile, in order to update your list. I have created a simple sample where I am binding Visible property of UltraTile to the Checked property of dynamic generated CheckBox. Please run the sample and let me know if this is what you are need.
Please let me know if you have any further questions.
Hello, I have been digging a little deeper into this issue using Reflector and think I may have found a couple of issues.
According to Reflector, UltraTile.add_Closing and remove_Closing place the event delegate into the eventsOptimized collection but OnClosing looks in the base.Events collection, hence will never find the event.
Compare this to StateChanging, where base.Events is used for both add/remove and raising the event.
Also if you call the SetVisible() function to make the tile invisible, then you get an exception. Again this is due to the closing events. It looks like the code is creating a TileClosedEventArgs but trying to raise a Closing event, hence gets a cast exception.
This is using version 10.3.20103.1000
Can you please investigate and let me know these are bugs?
Thanks.