Hello,
I'm using version 2009.1.311.20 and IE 8. I would like to be able to change the position of the datepicker's popup, but can't figure out how to do it since the datepicker is in the RadGrid. If I could do it server side that would be fine as I am utilizing the item created event of the RadGrid and would like to place the code there.
Thanks,
Casey
I'm using version 2009.1.311.20 and IE 8. I would like to be able to change the position of the datepicker's popup, but can't figure out how to do it since the datepicker is in the RadGrid. If I could do it server side that would be fine as I am utilizing the item created event of the RadGrid and would like to place the code there.
Thanks,
Casey
6 Answers, 1 is accepted
0
Hello Casey,
You can determine the position of RadDatePicker's popup manually using its client-side API for this purpose. See how this is done on the following intergration example on our site:
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/shareddatepicker/defaultcs.aspx?product=grid
and adopt it for your particular configuration.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can determine the position of RadDatePicker's popup manually using its client-side API for this purpose. See how this is done on the following intergration example on our site:
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/shareddatepicker/defaultcs.aspx?product=grid
and adopt it for your particular configuration.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Casey
Top achievements
Rank 1
answered on 23 Oct 2009, 12:29 PM
Sebastian,
I'm having trouble getting this to work for the filter textbox. In the example it was for a TextBox in an EditItemTemplate. I don't see a way to add the events to the textbox in the filter as has been done in the example for the textbox in the EditItemTemplate.
I tried with the grid column as both a GridBoundColumn and a GridDateTimeColumn. I got just the textbox part of the filter to show when using GridDateTimeColumn, but I couldn't figure out how to make the calendar pop-up when the user clicks in the box.
Here is what I tried with the GridDateTimeColumn. If there is a way to get the calendar to show, without the DatePopUpButton being visible that would be great.
Thanks,
Casey
I'm having trouble getting this to work for the filter textbox. In the example it was for a TextBox in an EditItemTemplate. I don't see a way to add the events to the textbox in the filter as has been done in the example for the textbox in the EditItemTemplate.
I tried with the grid column as both a GridBoundColumn and a GridDateTimeColumn. I got just the textbox part of the filter to show when using GridDateTimeColumn, but I couldn't figure out how to make the calendar pop-up when the user clicks in the box.
Here is what I tried with the GridDateTimeColumn. If there is a way to get the calendar to show, without the DatePopUpButton being visible that would be great.
| protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridFilteringItem) |
| { |
| GridFilteringItem filteringItem = e.Item as GridFilteringItem; |
| RadDatePicker box3 = filteringItem["column4"].Controls[0] as RadDatePicker; |
| box3.DatePopupButton.Visible = false; |
| } |
| } |
Thanks,
Casey
0
Hello Casey,
I think that if you set the ShowPopupOnFocus property of the RadDatePicker instance named "box3" you will get the desired result. See this online demo of the product for details:
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx
Greetings,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I think that if you set the ShowPopupOnFocus property of the RadDatePicker instance named "box3" you will get the desired result. See this online demo of the product for details:
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx
Greetings,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Casey
Top achievements
Rank 1
answered on 23 Oct 2009, 01:57 PM
Hi Sebastian,
Thanks for that info; however, I do not see a "ShowPopupOnFocus" property for box3. Is this a newer property or did it exist in Q1 2009?
Thanks,
Casey
Thanks for that info; however, I do not see a "ShowPopupOnFocus" property for box3. Is this a newer property or did it exist in Q1 2009?
Thanks,
Casey
0
Hi Casey,
This property has been introduced in the Q2 2009 release of the suite. I suggest you migrate to the latest version 2009.2.826 following the steps from here to take advantage of this new data picker functionality.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
This property has been introduced in the Q2 2009 release of the suite. I suggest you migrate to the latest version 2009.2.826 following the steps from here to take advantage of this new data picker functionality.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Casey
Top achievements
Rank 1
answered on 23 Oct 2009, 02:42 PM
Thanks for your assistance Sebastian. I do not think our company has any plans to upgrade at the present time, so this will just have to wait until they decide to upgrade.
Casey
Casey