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

Clear Description panel

8 Answers 95 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Arthur
Top achievements
Rank 1
Arthur asked on 18 Oct 2012, 09:22 AM
Hi all,

I have a property grid which is populated when an item in a tree view is selected.

The appropriate description appears when you click a property in the grid. However, when a new item in the tree view is selected, although the new set of properties is loaded up the old description remains.

I need to be able to clear this when I click on a new item in my tree view

Thanks is advance


Arthur

8 Answers, 1 is accepted

Sort by
0
Arthur
Top achievements
Rank 1
answered on 22 Oct 2012, 04:53 PM
Guys,

Are takers on this?

If its not possible would it be better to take the approach of loading a new property grid each time a new hierarchy item is selected?

Regards

Arthur



0
Arthur
Top achievements
Rank 1
answered on 07 May 2013, 04:39 PM
Hi,

This is still a problem for us. Is there a solution for this??
0
Maya
Telerik team
answered on 08 May 2013, 02:28 AM
Hello Arthur,

Could you specify which version of RadControls you are working with ? Do you get the same behavior with our latest one ?  

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Arthur
Top achievements
Rank 1
answered on 08 May 2013, 08:42 AM
Hi,

Its not that I am experiencing a particular behaviour as such - I need to programmatically clear the description panel

0
Arthur
Top achievements
Rank 1
answered on 08 May 2013, 09:02 AM
Hi Maya,

Just downloaded the latest version from you website and cant see if this is possible.

I thought about using the ClearValue method which works on a dependency property.

However, isn't a property for the text of the description panel only if the panel is visible or not


Thanks

0
Maya
Telerik team
answered on 08 May 2013, 10:13 PM
Hi Arthur,

I believer I got a bit confused. Is the Description in the description panel cleared once you changed the Item of the property grid ? Do you want to be able to claer its value explicitly ?  

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Arthur
Top achievements
Rank 1
answered on 09 May 2013, 10:45 AM
Hi Maya,

Yes the  idea was to be able to clear it manually,

In my system I have a tree view of items. When I click on an item the properties of the item are loaded up on a property grid.

If you click on the property grid the description panel gets populated.

But then if I click on a new item, the property grid is populated as expected but the previous description remains.
0
Maya
Telerik team
answered on 13 May 2013, 10:41 PM
Hello Arthur,

Could you please take a look at the sample attached and let me know whether you can reproduce the described behavior on it ? Does it need to be updated so that it looks like your application and the same case can be reproduced ?  

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
Arthur
Top achievements
Rank 1
Answers by
Arthur
Top achievements
Rank 1
Maya
Telerik team
Share this question
or