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

date in header

3 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dtrumbower
Top achievements
Rank 1
dtrumbower asked on 13 Jun 2007, 07:09 PM
Is there a way to display a date in the header or footer?

3 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 14 Jun 2007, 07:32 AM
Hello dtrumbower,

To display the current date/time you can use the global function NOW() within an item binding expression within any section:
dateTextBox.Value = "=NOW()"


All the best,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
dtrumbower
Top achievements
Rank 1
answered on 21 Jun 2007, 07:42 PM
Would there be a way to parse the NOW() function into a year or some other format?

Is there documentation that shows what functions are available within a textbox?

thanks
0
Hrisi
Telerik team
answered on 22 Jun 2007, 11:26 AM
Hi dtrumbower,

As usual, more info about data binding of the text you can find in the Reporting Help (here and here). In your case simply set the Format property of the TextBox to something similar to {0:dd.MM.yyyy}. See the attached image for more details.

 
Best wishes,
Hrisi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
dtrumbower
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
dtrumbower
Top achievements
Rank 1
Hrisi
Telerik team
Share this question
or