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

Problem with RadTimePicker when using RadAjaxManager or RadAjaxPanel

1 Answer 102 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Parvinder
Top achievements
Rank 1
Parvinder asked on 09 Oct 2010, 02:30 AM
Dear Support,

I can send you a sample project that reproduces a bug related to RadTimePicker we haven't been able to solve so far. I wasn't able to issue a support ticket although we have licensed copy of RadControls for Ajax and Report. Please let me know how you'd like to get the sample project.
In that sample .NET 3.5 web application project, WebForm1.aspx is a start page. It has 2 panels. First panel is visible and second one is invisible.
Panel 1 has a "Show Time Picker" button that when clicked toggles both panel's visibility. I.e. it switches to panel 2.
Panel 2 has a RadTimePicker and a Back button.
Back button's OnClickClick opens a RadWindow which shows another page called ConfirmBox.aspx.
On confirming Yes, a JS function is called that calls WebForm1's (parent's) callback JS function.
The callback function does a __postback indicating that BackButton is clicked.
In the codebehind PageLoad method if BackButtonClicked flag is set then the Panel 1 is visible.

Once you get the sample project, you can reproduce the problem with these steps:
  • Click Show Time Picker in Panel 1.
  • Panel 2 is shown.
  • Click Back button on Panel 2.
  • Confirmation box appears.
  • Click Yes.
  • Panel 1 is shown again.
  • Click Show Time Picker button again.
  • Now the Panel would be displayed with RadTimePicker not rendered at all in IE, Firefox, Chrome, Safari.

See attached screen showing the problem with RadTimePicker. The problem happens only when RadAjaxManager or RadAjaxPanel are used. We want to show progress indicator so we want to use RadAjaxManager or RadAjaxPanel but we're now stuck.

Please help.

Thank you,
Parvinder Grover
Aldelo Systems

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Oct 2010, 07:35 AM
Hi Parvinder,

The problem is that the RadTimePicker control loses its skin. Please set EnableAjaxSkinRendering to True for the RadTimePicker's DateInput and TimeView controls programmatically and unconditionally in Page_Load (i.e. on initial load and after postbacks as well).

Also make sure that you have not hit the IE's CSS file number limitation by checking whether the issue is reproduced only in IE.

http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx

If the above information is not relevant, please send your sample in a formal support ticket - you should be able to do so.

All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Parvinder
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or