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

Suggestion : Tag property

5 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 24 Mar 2010, 02:32 PM
Hi,

In all your objects, whatever it is, GridViewDataColumn for instance or anything else, you should have a Tag property which helps so much to let us do Dynamic codes.  It's a property we can put anything in it and it is a vital one to many RIA applications

Thank you

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Mar 2010, 02:42 PM
Hi Marc,

Can you provide more info on how exactly you want to use this property - for example with grid columns?

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Marc Roussel
Top achievements
Rank 2
answered on 24 Mar 2010, 02:48 PM
Sure.

For my actual need with the GridViewDataColumn since this is only ONE example is that I'm adding the columns of the grid at runtime based on SQL columns and I have a table that defines many aspect of the columns including a language change in realtime with the Tag of any existing Silverlight object in the application.

The way it works is that I put the english word and the french word separated by ; like this object.Tag = "Word;Mot" and if the user change language, every visual object in the application will have its language changed according to what the user wants

No I'm not using a resource for that because I have other needs that can't be fullfill with this approach.

Remember.  This is only an example of the usage of Tag.
0
Vlad
Telerik team
answered on 30 Mar 2010, 09:02 AM
Hi Marc,

You can use our Silverlight DataTable to achieve such dynamic scenarios.

Greetings,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Marc Roussel
Top achievements
Rank 2
answered on 30 Mar 2010, 11:10 AM
Sure I can.

I mean, this was just an example.  Tag isn't used just for that. 
Tag is a general purpose object that serves so well in many different needs.

You see what I mean right ?
0
Hristo
Telerik team
answered on 02 Apr 2010, 10:37 AM
Hi Marc Roussel,

Thank you for your feedback. We'll take it into consideration when discussing our future development.

Your Telerik points are updated.

Best wishes,
Hristo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Marc Roussel
Top achievements
Rank 2
Hristo
Telerik team
Share this question
or