Hi Telerik,
To reproduce the scenario:
1. Create a .aspx page.
2. Add one script manager.
3. Add one update panel.
4. Add two buttons A and B (or whatever other controls to make postbacks) and one RadGrid inside the update panel.
5. Configure the grid to show some items in a column template. Configure the data binders.
6. Add a RadSocialShare control in the column template (to show for each item).
7. Configure the RadSocialShare control with some buttons (facebook, twitter, etc). Important: Do not add the SendEmail button yet!
8. Configure the two buttons A and B added in number 4. Do some kind of task to change the grid (sort, filter, ...).
9. Run the page and you will see that everything is Ok. Buttons A and B, grid and social share buttons are working.
--> Now the BUG
10. Add the SendEmail button to the RadSocialShare control and run the page. The two buttons A and B don't work anymore. It seems that the autogenerated form for the SendEmail button generates some kind of js conflict. The error message follows.
(Error displayed in Chrome's dev tools):
Thanks,
John.
To reproduce the scenario:
1. Create a .aspx page.
2. Add one script manager.
3. Add one update panel.
4. Add two buttons A and B (or whatever other controls to make postbacks) and one RadGrid inside the update panel.
5. Configure the grid to show some items in a column template. Configure the data binders.
6. Add a RadSocialShare control in the column template (to show for each item).
7. Configure the RadSocialShare control with some buttons (facebook, twitter, etc). Important: Do not add the SendEmail button yet!
8. Configure the two buttons A and B added in number 4. Do some kind of task to change the grid (sort, filter, ...).
9. Run the page and you will see that everything is Ok. Buttons A and B, grid and social share buttons are working.
--> Now the BUG
10. Add the SendEmail button to the RadSocialShare control and run the page. The two buttons A and B don't work anymore. It seems that the autogenerated form for the SendEmail button generates some kind of js conflict. The error message follows.
(Error displayed in Chrome's dev tools):
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Impossible d'annuler l'inscription de UpdatePanel avec l'ID '', car il n'était pas inscrit auprès de ScriptManager. Cela peut se produire si UpdatePanel a été supprimé de l'arborescence du contrôle et rajouté ensuite, ce qui n'est pas pris en charge.
Nom du paramètre : updatePanel
Sys.WebForms.PageRequestManager._endPostBackTelerik.Web.UI.WebResource.axd:15
Sys.WebForms.PageRequestManager._parseDeltaTelerik.Web.UI.WebResource.axd:15
Sys.WebForms.PageRequestManager._onFormSubmitCompletedTelerik.Web.UI.WebResource.axd:15
(anonymous function)Telerik.Web.UI.WebResource.axd:6
(anonymous function)Telerik.Web.UI.WebResource.axd:6
Sys.Net.WebRequest.completedTelerik.Web.UI.WebResource.axd:6
_onReadyStateChange
Thanks,
John.