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

Scheduler href firing instead of onclick event.

3 Answers 50 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Demetri
Top achievements
Rank 1
Demetri asked on 21 Oct 2008, 11:30 AM
Hi there,

I'm experiencing an intermittent problem with the radscheduler, which is ajax enabled via an ajaxmanager.

The backwards and forwards links on the rad scheduler have a href of 'default.aspx#', which is fine as there is an onclick handler which handles the paging on the scheduler. What happens sometimes is that the onclick event seems to fail and the href fires which then moves the view to the top of the page. In my case due to the radscheduler being in a user control, the href link is something like 'UserControls/#', so when the href is mistakenly fired, it redirects to the user controls directory, and a page not found error occurs.

Is there any reason why the onclick event sometimes fails to fire?

Regards,
  Demetri.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Oct 2008, 01:06 PM
Hi Demetri,

Thank you for reporting this.

We are not aware of such a problem. Could you please provide more details on the matter and the exact steps we need to take to observe the problem? I realize that it appears intermittently at your side, but if there is any setting/procedure required which would increase the likelihood of the problem to appear, please let us know. Also, please specify the browser type and version which you use.

Thanks.

Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Demetri
Top achievements
Rank 1
answered on 21 Oct 2008, 02:07 PM
Hi Peter,

I'm using telerik version 2008.2.826.35. The behaviour appears in both IE6 / FF3.03.

There doesn't appear to be any special procedure. Put a rad scheduler into a user control which exists in a path just off the root, i.e /UserControls. Create a aspx file in the root folder which contains the scheduler usercontrol.

Load the page, and click the backwards and forwards buttons randomly until the issue appears.

Initially I thought it could be that during the ajax postback, the scheduler control doesn't have enough time to load its javascript before the forward/backward button is clicked. But I have a loadingpanel, which disables the scheduler control during the ajax postback, and the issue still occurs.

Thanks,
  Demetri.

0
Peter
Telerik team
answered on 23 Oct 2008, 01:30 PM

Thanks for the additional info. I wasn't able to replicate the problem, but I will log the issue anyhow and our QA and development team will review it.

Cheers,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Demetri
Top achievements
Rank 1
Answers by
Peter
Telerik team
Demetri
Top achievements
Rank 1
Share this question
or