RadScriptManager & RadAjaxManager

4 posts, 0 answers
  1. ying
    ying avatar
    27 posts
    Member since:
    May 2011

    Posted 30 May 2011 Link to this post

    I Have RadAjaxManager and RadScriptManager , i used RadAjaxManager cotrol a button. but when i click the button, it doesnt response, when i comment for the RadAjaxManager, then the button can work d? anyone can help me solve the problem?

    <telerik:RadScriptManager ID="ScriptManager1" runat="server"></telerik:RadScriptManager>
     
    <telerik:RadWindow ID="RadWindow1" runat="server"
                Behaviors="Resize, Close, Move" Height="300px" Modal="True"
                NavigateUrl="ForgotPassword.aspx" Overlay="True" ReloadOnShow="True"
                VisibleStatusbar="False" Width="450px">
            </telerik:RadWindow>
     
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="lnkLogin">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="lnkLogin" LoadingPanelID="RadAjaxLoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="lblMsg" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
    this is my code
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 02 Jun 2011 Link to this post

    Hi Ying,

    In the declaration you have provided everything seems normal.

    In order to troubleshoot this problem, please provide us with the declaration of your button. In case you have javascript code, please provide it as well.

    Any additional information would be helpful.

    Regards,
    Dimitar Terziev
    the Telerik team

    Browse the vast support resources we have to jump start 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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ying
    ying avatar
    27 posts
    Member since:
    May 2011

    Posted 03 Jun 2011 Link to this post

      function requestStart(sender, args)
    {
        alert(args.get_eventTarget());
         
        if (args.get_eventTarget().indexOf("txtLoginPW") > -1)
        {
            args.set_cancel(true);
            sender.ajaxRequestWithTarget("<%= lnkLogin.ClientID %>", '');
        }
    }

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" IsSticky="True" CssClass="con11" ClientEvents-OnRequestStart="requestStart" >
                                           Logging In ...  <asp:Image id="loader" runat="server" ImageUrl="pic/Loader1.gif" ImageAlign="AbsMiddle"/>
                                         </telerik:RadAjaxLoadingPanel>

    then the above code call for the request start function.
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 08 Jun 2011 Link to this post

    Hi Ying,

    The reason for the experienced behavior is the fact that with the current implementation your event handler function for requestStart is executed.

    I've prepared a sample page implementing the desired behavior.

    I hope this would help you out.

    Kind regards,
    Dimitar Terziev
    the Telerik team

    Browse the vast support resources we have to jump start 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.

Back to Top