RadAjaxManager ASP.NET validators (again)

2 posts, 0 answers
  1. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 07 Dec 2008 Link to this post

    I thought this was addressed in Q2 as stated in the following thread http://www.telerik.com/community/forums/aspnet-ajax/ajax/radajaxmanager-and-asp-net-validators.aspx

    but i am stilling haveing the same problem,
    to repo the problem
    I undrestaned that if i set enableclientside... it will work but this is not an option for me.

    1. fill out both textboxes (page valid)
    2. click the button (all good)
    3. remove content of text boxes(one or both),
    4. click button and no validation summary

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Button1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="vldSummary2" LoadingPanelID="LoadingPanel3" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="LoadingPanel3" runat="server">
            <img alt='' src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading1.gif") %>' />
        </telerik:RadAjaxLoadingPanel>
        <asp:ValidationSummary ID="vldSummary2" runat="server" />
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="first"></asp:Label>
                    <asp:RequiredFieldValidator ID="vldFirstNameSearc" runat="server" ControlToValidate="txtFirstNameSearch"
                        ErrorMessage="first required" Display="None">
                                              
                    </asp:RequiredFieldValidator>
                </td>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="last"></asp:Label>
                    <asp:RequiredFieldValidator ID="vldLastNameSearch" runat="server" ControlToValidate="txtLastNameSearch"
                        ErrorMessage="last requried" Display="None">
                                             
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtFirstNameSearch" runat="server" MaxLength="50" Width="85px"></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txtLastNameSearch" runat="server" MaxLength="50" Width="85px"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Button ID="Button1" runat="server" Text="Next" />
        <telerik:RadMultiPage ID="mpRes" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="pvSearch" runat="server">
            </telerik:RadPageView>
        </telerik:RadMultiPage>
        </form>
    </body>
    </html>

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 08 Dec 2008 Link to this post

    Hi Zoinky,

    Please note that ValidationSummery control is not supported with MS and RadAjax. Please review the following help topic which presents the controls that are not compatible with RadAjax.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top