RadWindow Doesn't Close When Used with Validation Group

2 posts, 0 answers
  1. Rodney
    Rodney avatar
    40 posts
    Member since:
    Mar 2015

    Posted 27 May Link to this post

    I've read a number of articles about this and thought I took the necessary steps to correct it, but it still isn't working.

    I've got a RadWindow with a number of controls defined on it that are all in the same ValidationGroup. On the button to save the stuff I've specified:

    ValidationGroup="attachmentValidations"

    When I do this my data is saved, but the RadWindow will not close.

    If I remove the above and add:

    CausesValidation="true"

    It will close the window, but doesn't appear to do any validation.

    I've added the following lines per your help article:

    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

    Still no luck. Any help would be appreciated.

     

    Rodney

     

     

     

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 27 May Link to this post

    Hi Rodney,

    Most probably, there is another validation group or a set of validators without a validation group on the page that are preventing the postback. They do not necessarily have to be in the RadWindow ContentTemplate.

    Thus, I suggest you consider my offer from your other thread and see whether migrating the contents of the RadWindow to a standalone page is feasible, because doing that is likely to reduce such problems.

    Regards,

    Marin Bratanov
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top