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

How to Manage Forms/Tiles when clicking tile?

1 Answer 105 Views
Panorama
This is a migrated thread and some comments may be shown as answers.
Dipan
Top achievements
Rank 1
Dipan asked on 27 Jan 2013, 05:52 PM
Dear Sir/Madam,

1)How to Manage Rad from  on Tile click event Not user control as In DemoHub?

2)How to show sub tiles on Tile click event?
[When clicking a Tile 1 from Group 1 want to show All Tiles from Group 2 at same Location may contain more Tiles or less]

Thank You,
Dipan



1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 30 Jan 2013, 05:45 PM
Hello Dipan,

Thank you for contacting us.

You should not experience any difficulties in managing the form from the Click handler because usually tiles are created as components on the form and their handlers are member method of it:
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
 
    void radTileElement1_Click(object sender, EventArgs e)
    {
        this.Text = "title text";
    }
}

If I am not understanding you correctly, please try to explain in more detail what is the exact scenario you are trying to achieve or the exact functionality you are after.

As to your second question, I am also not sure I am understanding it correctly. As far as I understand, you need to scroll the panorama to the second group when a tile from the first was clicked. If this is the case, you can use the following click handler:
private void radTileElement1_Click_1(object sender, EventArgs e)
{
    this.radPanorama1.PanoramaElement.ScrollToItem(this.radTileElement6); //tile element 6 is the first tile in group 2
}

I hope you find this useful. Let me know if I can help you with anything else.

Kind regards,
Ivan Todorov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
Panorama
Asked by
Dipan
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or