RadWindow Doesn't Close When Used with Validation Group

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

    Posted 27 May 2016 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:


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

    If I remove the above and add:


    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.







  2. Marin Bratanov
    Marin Bratanov avatar
    4533 posts

    Posted 27 May 2016 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.


    Marin Bratanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top