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

Hide or Show a Grid from the same window.

2 Answers 804 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yana
Top achievements
Rank 1
Yana asked on 17 Aug 2011, 01:41 AM
Howdy Everyone,

I'd like to ask on how to hide/show telerik grids on the same window by clicking a button?

Here's my scenario: 
I have 3 buttons: the day, week and month. My default grid on the window is the Day Grid. When I clicked on the day button, the day grid would show up, when the week button is clicked, the week grid will and the day grid will hide, and lastly, when the month button is clicked, the month grid will show and the week grid will be hidden. Please help me since i'm new to your tools. Would greatly appreciate your help. God bless.

2 Answers, 1 is accepted

Sort by
0
Accepted
Vera
Telerik team
answered on 17 Aug 2011, 09:14 AM
Hi Yana,

You can use the grid property Visibility and set its value to hidden/collapsed or visible. I have attached a project so you can see an example.
Is this what you are trying to do? 


Greetings,
Vera
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Yana
Top achievements
Rank 1
answered on 18 Aug 2011, 07:27 AM
Just what I needed. Thanks!
Tags
GridView
Asked by
Yana
Top achievements
Rank 1
Answers by
Vera
Telerik team
Yana
Top achievements
Rank 1
Share this question
or