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

Silverlgith gridview with formatting

4 Answers 56 Views
Designs, skins, themes
This is a migrated thread and some comments may be shown as answers.
wanlop
Top achievements
Rank 1
wanlop asked on 24 Feb 2011, 10:02 AM
Hi Telerik team,

     I want to assign formatting to datetime or numerice collumn on grideview  with theme dll.
     How should i do?

Best Regards,
Mr.Wanlop

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 24 Feb 2011, 07:34 PM
Hello Wanlop,

 

I am not quite sure that I understand your requirement correctly. Can you please elaborate your problem a little bit more? You may also review our online documentaion about DataFormatting in RadGridView, following this link.

Best wishes,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
wanlop
Top achievements
Rank 1
answered on 25 Feb 2011, 03:25 AM
Hi,

I already read your document online but my purpose is apply date formatting to "custom -theme".
That mean i don't know about datatype of column during work on custom-theme.

My objective is display any column that are datetime on "dd/mm/yyy" format and diaplay any coloumn
that are currency on "9,999,999.99" format.

Best Regards,
Wanlop
0
Vanya Pavlova
Telerik team
answered on 25 Feb 2011, 01:30 PM
Hello Wanlop,

 
Since the columns in RadGridView are not visual objects, you cannot create a style for a column and to integrate it in a theme. You may define the DataFormatString for a column as a StaticResource as it is described at the following forum thread "Set the DataFormatString using style/resource".

Kind regards,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
wanlop
Top achievements
Rank 1
answered on 02 Mar 2011, 08:54 AM
Hi,

Thankyou for recommend. But just better if i can define "datetime format" and then
 use it on many collumns and controls without any modified my xaml file.

Best Regards,
Wanlop
Tags
Designs, skins, themes
Asked by
wanlop
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
wanlop
Top achievements
Rank 1
Share this question
or