7 Answers, 1 is accepted
0
Hi Max,
You can use a template field with a TextBox and CalendarExtender as shown below:
Greetings,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can use a template field with a TextBox and CalendarExtender as shown below:
<div> |
<telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource"> |
<MasterTableView AutoGenerateColumns="false"> |
<Columns> |
<telerik:GridTemplateColumn UniqueName="GridTemplateColumn1" HeaderText="GridTemplateColumn1" > |
<ItemTemplate> |
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> |
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1"/> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
</Columns> |
</MasterTableView> |
</telerik:RadGrid> |
</div> |
Greetings,
Plamen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Yury
Top achievements
Rank 1
answered on 24 Feb 2009, 06:29 AM
Hi, Telerik Support Team!
I've got the problem: when I use calendar exteneder in my grid template column, on Item Updating I need to use DateTime.ParseExact(...) function, because date should be displayed in particular format. How can I proceed this conversion?
I've got the problem: when I use calendar exteneder in my grid template column, on Item Updating I need to use DateTime.ParseExact(...) function, because date should be displayed in particular format. How can I proceed this conversion?
0
0
Hi Mike,
You can fix the layout by adding the following css to the head tag of your page:
All the best,
Pavel
the Telerik team
You can fix the layout by adding the following css to the head tag of your page:
<style type=
"text/css"
>
.RadGrid td .ajax__calendar td
{
padding
:
0
;
}
</style>
All the best,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Mike
Top achievements
Rank 1
answered on 10 Dec 2010, 02:38 PM
Thank you, works like a charm now!
0

Nitesh
Top achievements
Rank 1
answered on 25 Mar 2012, 03:02 PM
Hi Pavel,
I had the same issue with the calendar extender from the ajax tool kit and the layout doesn't display correctly even after adding that style bit, Please advice.
Nitesh
I had the same issue with the calendar extender from the ajax tool kit and the layout doesn't display correctly even after adding that style bit, Please advice.
Nitesh
0
Hello Nitesh,
I am attaching a small sample that runs as expected on my side. Please give it a try and let me know whether further assistance is needed.
Kind regards,
Martin
the Telerik team
I am attaching a small sample that runs as expected on my side. Please give it a try and let me know whether further assistance is needed.
Kind regards,
Martin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.