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

RadAjaxManager Blocks server side event

1 Answer 97 Views
Input
This is a migrated thread and some comments may be shown as answers.
RYan
Top achievements
Rank 1
RYan asked on 19 Oct 2012, 07:39 PM
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">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="lblError" />
                       <telerik:AjaxUpdatedControl ControlID="txtSONumber" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>




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




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


1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 Oct 2012, 09:40 PM
Hello,

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.

Greetings,
Pavlina
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.
Tags
Input
Asked by
RYan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or