ValidationSummary not working in it's own asp:Panel

4 posts, 0 answers
  1. Mark
    Mark avatar
    8 posts
    Member since:
    Nov 2008

    Posted 16 Nov 2010 Link to this post

    I have validaiton setup on some of my input controls, and a RadAjaxManagerProxy setup on the page. 

    On first page load my validation is working.  But after ajaxifying the page and when the RadAjaxManager refreshes the Ajax content, the validation doesn't work anymore. 

    I have read this article (http://www.telerik.com/help/aspnet-ajax/ajxlimitations.html) re. RadAjax and Validators which suggest placing the validation summary in it's own asp:Panel, but it's still not working.

    Any ideas?

    <asp:Panel ID="validationSummaryPanel" runat="server">
            <asp:ValidationSummary ID="newClientValidationSummary" runat="server" ShowMessageBox="true"
                ShowSummary="false" ValidationGroup="newClientGroup" />
        </asp:Panel>
        <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="addClientButton">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="leftContainer" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="validationSummaryPanel" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManagerProxy>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
        </telerik:RadAjaxLoadingPanel>
  2. Mark
    Mark avatar
    8 posts
    Member since:
    Nov 2008

    Posted 17 Nov 2010 Link to this post

    Anyone experiencing this same issue?
  3. Martin
    Admin
    Martin avatar
    833 posts

    Posted 19 Nov 2010 Link to this post

    Hello Mark,

    Could you please verify whether putting your validator(s) outside any AJAX-ified containers rectifies the problem?

    Regards,
    Martin
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  4. Graeme Pickup
    Graeme Pickup avatar
    1 posts
    Member since:
    Jun 2010

    Posted 19 Nov 2010 Link to this post

    Excellent.  That was it:  removing the validators and the summary out of the RadAjaxManager.

    Thanks!
Back to Top