This is a migrated thread and some comments may be shown as answers.

ValidationSummary not working in it's own asp:Panel

3 Answers 123 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 16 Nov 2010, 02:21 PM
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>

3 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 17 Nov 2010, 11:11 AM
Anyone experiencing this same issue?
0
Martin
Telerik team
answered on 19 Nov 2010, 04:38 PM
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.
0
Graeme Pickup
Top achievements
Rank 1
answered on 19 Nov 2010, 05:29 PM
Excellent.  That was it:  removing the validators and the summary out of the RadAjaxManager.

Thanks!
Tags
Ajax
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Martin
Telerik team
Graeme Pickup
Top achievements
Rank 1
Share this question
or