Hello,
I have a grid within a grid, using the radGrid as the parent grid and the GridTableView as the child grid. In the child grid, I have a template column which gets a RadDatePicker added to it. This all works wonderfully, however it results in pages that are > 500kb even if there are only 10 child rows being shown (it seems that the radCalendar is fairly heavy).
I came across the following example to use the SharedCalendar property of a RadDatePicker:
http://demos.telerik.com/aspnet-ajax/Calendar/Examples/Design/Sunny/DefaultCS.aspx
These examples work great for me if I'm not dynamically adding RadDatePickers to the form.
However, when using the GridTableView, I'm adding the RadDatePickers dynamically. So it makes sense for me to dynamically set the .SharedCalendar property to my shared calendar. I cannot however make this work - when I click on the RadDatePicker, the calendar is not shown.
I've tried setting the .SharedCalendar property in my template class for the template column. I've also tried setting it on the itemDataBound event of the parent grid. Niether works.
I'm guessing I'll be asked to post an example of the project, which I'm willing to do. However, I'm hoping there's a quick fix to this...
Thanks!
I have a grid within a grid, using the radGrid as the parent grid and the GridTableView as the child grid. In the child grid, I have a template column which gets a RadDatePicker added to it. This all works wonderfully, however it results in pages that are > 500kb even if there are only 10 child rows being shown (it seems that the radCalendar is fairly heavy).
I came across the following example to use the SharedCalendar property of a RadDatePicker:
http://demos.telerik.com/aspnet-ajax/Calendar/Examples/Design/Sunny/DefaultCS.aspx
These examples work great for me if I'm not dynamically adding RadDatePickers to the form.
However, when using the GridTableView, I'm adding the RadDatePickers dynamically. So it makes sense for me to dynamically set the .SharedCalendar property to my shared calendar. I cannot however make this work - when I click on the RadDatePicker, the calendar is not shown.
I've tried setting the .SharedCalendar property in my template class for the template column. I've also tried setting it on the itemDataBound event of the parent grid. Niether works.
I'm guessing I'll be asked to post an example of the project, which I'm willing to do. However, I'm hoping there's a quick fix to this...
Thanks!