RadAjaxManager Blocks server side event

2 posts, 0 answers
  1. RYan
    RYan avatar
    1 posts
    Member since:
    Oct 2012

    Posted 19 Oct 2012 Link to this post

    I have a submit button white pops a radconfirm dialog asking Yes or cancel. If they click Yes then I need to update a textbox from server side c# code. But if I do all of this the RadTextBox ontextchanged method is never fired

    Once again, THE PROBLEM IS RADTEXTBOX ONTEXTCHANGED NEVER FIRES!!!!!! HOW TO GET IT TO FIRE THE SERVER SIDE EVENT? I can not remove it from up UpdatedControls because I need it for the confirm dialog

    telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
                        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                                <telerik:AjaxUpdatedControl ControlID="lblError" />
                           <telerik:AjaxUpdatedControl ControlID="txtSONumber" />

    <telerik:RadTextBox ID="txtSONumber" Width="300px" runat="server" AutoPostBack="true" CausesValidation="true"
                                    Onkeydown="Keypress_Event()" ontextchanged="txtSONumber_TextChanged" >

    function Keypress_Event() {
                  var combo = $find("<%= txtCustomerName.ClientID %>");

  2. Pavlina
    Pavlina avatar
    6165 posts

    Posted 24 Oct 2012 Link to this post


    I tested the provided code and OnTextChanged event is fired as expected. I am attaching my test page to this message for your reference. Give it a try and let me know what is the difference in your case.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top