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

Other controls "flashing" on AJAX PostBack

1 Answer 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Benoit
Top achievements
Rank 1
Benoit asked on 09 Jun 2010, 03:52 PM
Hi !

I've got dropdownlists in ItemTemplates of a DataGrid. Those dropdownlists are meant to update other ones (within the same DataGridItem) The DataGrid is itself in a Repeater.

On the ItemDataBound event of the DataGrid, I populate the AjaxSettings collection of the RadAjaxManager control in the webform.

All the updates (AJAX PostBack calls) work very well but all dropdownlists on the page "flash" although they do not get updated (they're not meant to either !)....?! Some of the dropdowns flashing are not added to the AjaxSettings collection (on purpose)..... There are other controls on the webform (i.e. Labels) and they remain "static" so is the rest of the webform..... only dropdownlists disappear and re-appear after the AJAX Postback is completed.......

Is that behaviour "by design" ?! Can that be avoided ?!

Thank you !

Regards,

Benoit

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 14 Jun 2010, 09:27 AM
Hi Benoit,

Could you please elaborate a little bit more on your scenario? Does the DropDownLists add to the RadAjaxSettings. Are you using the RadGrid into UserControl and adding the settings by RadAjaxManagerProxy control? If you are using regular RadAjaxManager on the page, please note that the dynamic settings should be always added in a Page event handler, which is executed each time during the page lifecycle (Page_Load, Page_PreRender) so that the control could be ajaxified when the page is initially loaded.
Also please confirm that you are using the latest version of RadControls for ASP .NET Ajax.


Regards,
Maria Ilieva
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
Benoit
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or