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

How to "put" the radcalendar into a single cell?

2 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 30 Jun 2009, 08:55 AM
Hello, my problem is simple. unfortunately I can not deal with it alone.
I want to put RadCalendar in a single cell of the RadGridView , so that date was not written only selected.Can this be done somehow?
I saw a solution to fix the whole column in this way, but I need to do this with a single cell.
Best regards and thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Boryana
Telerik team
answered on 03 Jul 2009, 10:51 AM
Hello Krzysztof,

Thank you for contacting us.

I have attached a sample project that demonstrates how you can add custom objects in a RadGridView cell. Although your issue is how to add a RadCalendar in a single cell, I guess you meant RadDateTimePicker. Nevertheless, the project I have prepared covers both cases.

Here are my steps: I bind the RadGridView to a DataBase and add two columns - textBoxColumn and textBoxColumn2. Further, I handle the CellFormatting event which adds a RadDateTimePickerElement in the first cell of textBoxColumn and a RadCalendar in the second cell of textBoxColumn2. You can also see an example in this article.

I hope this is helpful. If you have further questions, do not hesitate to contact me back.

Greetings,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Krzysztof
Top achievements
Rank 1
answered on 06 Jul 2009, 10:14 AM
Hello Boryana, Work's great. Thanks a lot !
Tags
GridView
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Krzysztof
Top achievements
Rank 1
Share this question
or