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

[Solved] AJAX Prmetheus chan ges standard behavior of multiview with data-bound controls

1 Answer 84 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John Brownell
Top achievements
Rank 1
John Brownell asked on 06 Jan 2008, 09:27 PM
I found this when trying to change to the new Prometheus controls in my web app. I have a page with a multiview and several views with databound controls. Which view I display is dependent upon the current app state.

The typical ASP.NET behavior is that a given control does not bind until it's view is displayed on the page. This is how the previous RadAJAX version worked as well. The Prometheus version is causing all controls in all views to databind upon the first page load.

To reproduce this:
Create a page with a multiview and two views. In each view add a control and bind it to a datasource control. Set the 1st view as the default so it displays when the app loads. Set up an event handler for the 2nd view datasource's "selecting" event. You will notice that it does not fire when the 1st view is displayed. Now, wrap the multiview in a Prometheus AJAX control and rerun the application. You will see that the "selecting" event of view 2 is fired even though the view has not been changed.

I hope this makes sense. Am I overlooking something?

Thanks!
John
Pyron Technologies

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 09 Jan 2008, 07:47 AM
Hello John,

Unfortunately I have to confirm that this is a bug in the current release of RadAjax "Prometheus". As a workaround, you can try assigning RadAjaxLoadingPanel to the RadAjaxPanel or use RadAjaxManager control instead. The issue will be fixed and most probably will be available in the next service pack on Monday. Meanwhile I have updated you Telerik points for the report.

All the best,
Rosen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
John Brownell
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or