Hi,
I have a page which contains a drop down list and a control from Atalasoft which is essentially an image viewer.
The Atalasoft control has its own AJAX and when it renders it'll render with iFrames in it. The control is also in an ASP.NET panel.
I've set the AJAX Manager to update the panel whenever the drop down list selection changes.
Unfortunately, the content within the Atalasoft control's iFrames is not rendered.
Any help on this would be greatly appreciated.
Thanks,
Darren
I have a page which contains a drop down list and a control from Atalasoft which is essentially an image viewer.
The Atalasoft control has its own AJAX and when it renders it'll render with iFrames in it. The control is also in an ASP.NET panel.
I've set the AJAX Manager to update the panel whenever the drop down list selection changes.
Unfortunately, the content within the Atalasoft control's iFrames is not rendered.
Any help on this would be greatly appreciated.
Thanks,
Darren
4 Answers, 1 is accepted
0
Darren
Top achievements
Rank 1
answered on 11 May 2010, 10:08 PM
Hi... Does anyone have a solution to this problem?
Thanks,
Darren
Thanks,
Darren
0
Hello Darren,
The behavior which you are experiencing is due to the fact that WebImageViewer control has overriden Visible property. This property is internally used by RadAjax infrastructure in order to wrap ajaxified control inside UpdatePanel.
To workaround this behavior you can wrap WebImageViewer control instead regular ASP.NET Panel control and set that Panel as UpdatedControls instead of the viewer itself. Other options could be to user RadAjaxPanel instead of RadAjaxManager. For your convenience I am attaching sample application demonstrating exactly this scenario.
I hope this helps.
Greetings,
Nikolay
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.
The behavior which you are experiencing is due to the fact that WebImageViewer control has overriden Visible property. This property is internally used by RadAjax infrastructure in order to wrap ajaxified control inside UpdatePanel.
To workaround this behavior you can wrap WebImageViewer control instead regular ASP.NET Panel control and set that Panel as UpdatedControls instead of the viewer itself. Other options could be to user RadAjaxPanel instead of RadAjaxManager. For your convenience I am attaching sample application demonstrating exactly this scenario.
I hope this helps.
Greetings,
Nikolay
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.
0
Darren
Top achievements
Rank 1
answered on 12 May 2010, 04:41 PM
Thanks for the response. I'm actually not using the WebImageViewer but the WebThumbnailViewer and WebAnnotationViewer controls. These controls are in an ASP.NET panel and the RadAjaxManager does update just the panel, as I said my original post. I'm using the RadAjaxManager as opposed to an AJAX panel because this page can be rather large and I wish to optimize it for best performance. RadAjaxManager seems to be the best fit since user events will update specific controls rather than all the controls in an AjaxPanel. However, if there is way to achieve the same performance with an AjaxPanel that will fix the WebThumbnailViewer and WebAnnotationViewer, then I'm all ears.
Thanks,
Darren
Thanks,
Darren
0
Darren
Top achievements
Rank 1
answered on 12 May 2010, 07:00 PM
Hi,
I've gotten it to work now. Before I had both the Atalasoft controls in the same ASP.NET panel along with some HTML. Even though I had the RadAjaxManager updating the panel, this does not did work. What got the page to work was putting each of the Atalasoft controls in their own ASP.NET panel with no other markup. The RadAjaxManager would of course update these two panels individually.
Thanks for the assistance!
-Darren
I've gotten it to work now. Before I had both the Atalasoft controls in the same ASP.NET panel along with some HTML. Even though I had the RadAjaxManager updating the panel, this does not did work. What got the page to work was putting each of the Atalasoft controls in their own ASP.NET panel with no other markup. The RadAjaxManager would of course update these two panels individually.
Thanks for the assistance!
-Darren