Incompatibality with microsofts ajaxToolkit ModalPopupExtender

3 posts, 0 answers
  1. Peter Sitero
    Peter Sitero avatar
    15 posts
    Member since:
    Oct 2009

    Posted 08 Jan 2010 Link to this post

    Looks like the form decorator has compatibiliy issues with microsoft's ajaxToolkit ConfirmButtonExtender and ModalPopupextender.  For every instance of the extender a bracket "]" appears. If I select "buttons" for ControlsToSkip the issue goes away but now my buttons don't match the rest of my site.  This is probably because the popup extender has buttons embedded in it.  I see Zone as a ControlsToSkip option.  What is a Zone and can I enclose the extender in such a Zone?

     

  2. Peter Sitero
    Peter Sitero avatar
    15 posts
    Member since:
    Oct 2009

    Posted 08 Jan 2010 Link to this post

    I fixed it by wrapping it in an RadXmlHttpPanel and set the height to 0. Kinda wacky but it works.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 11 Jan 2010 Link to this post

    Hello,

    An easier workaround would be simply to wrap the ConfirmButtonExtender in a <div style="display:none">. For example:

    <div style="display:none">
      <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender2" runat="server" TargetControlID="Button" DisplayModalPopupID="ModalPopupExtender1" />
    </div>

    The problem in the first place is that the confirm button extender renders a new hidden button on the page (<input>) and the form decorator tries to decorate it. Since the new button is hidden, the style is not applied properly and the browser still renders a part of it (the ]). The workaround in this case is to wrap the button with a hidden div.

    All the best,
    Lini
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top