Friends,I'm trying to use UltraTilePainel to develop a reservation system.For this situation I made a UserControl.Within UserControl I have a Panel that I would only be visible when the Large Tile was.How can I change some property of my usercontrol that is inside a Tile Specific?
Somebody help me. Please
Anyone seen this forum?
Can anyone help me? I am in desperate need of a solution!
Are you asking how to get the control that has been placed inside anUltraTile?
If so, you simply take the UltraTile that the control is contained in and do the following:
UserControl myControl = (UserControl)myUltraTile.Control;
That's C#. I'm not sure how it differs in VB, if you require it.
Then you can get the panel via the myControl.Controls property, or much nicer, have your UserControl expose a property that exposes the panel you want to access e.g. UserControl.PanelToHideAndShow.
Alternatively, you could have UserControl expose a coupld methods e.g. HidePanel and ShowPanel that show and hide the panel internally when invoked.
Hope that helps.
Cheers,
Richard