SendEmail button in RadGrid issue

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Jan 2011

    Posted 15 Feb 2012 Link to this post

    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
    (anonymous function)Telerik.Web.UI.WebResource.axd:6
    (anonymous function)Telerik.Web.UI.WebResource.axd:6

  2. Marin Bratanov
    Marin Bratanov avatar
    4433 posts

    Posted 16 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top