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

SendEmail button in RadGrid issue

1 Answer 74 Views
SocialShare
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 Feb 2012, 07:48 PM
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):

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.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 16 Feb 2012, 02:24 PM
Hello John,

 I have just answered your support ticket on this matter. Since I was not successful in reproducing your issue and I cannot provide a resolution at the moment I suggest we continue the conversation there and you can post the final answer here once we reach a conclusion. I only ask that in the meantime you also send us the error message translated in English, because, I am sorry to say, I am not familiar with the French language. When we get the exception and the modified version of my test page we will do our best to find the cause for this.


All the best,
Marin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
SocialShare
Asked by
John
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or