or

<telerik:GridTemplateColumn DataField="Data" HeaderText="Imagen" UniqueName="Upload"> <ItemTemplate> <a class="FotoGrid" href="#" onclick="VerImagen($(this))"> <telerik:RadBinaryImage ID="RadBinaryImage2" runat="server" AlternateText='<%#Eval("Contenido", "Photo of {0}") %>' AutoAdjustImageControlSize="false" DataValue='<%#Eval("Contenido") is DBNull ? null : Eval("Contenido")%>' Height="80px" ToolTip='<%#Eval("Contenido", "Photo of {0}") %>' Width="80px" /> </a> </ItemTemplate> <EditItemTemplate> <telerik:RadAsyncUpload ID="FotoActualizar" runat="server" AllowedFileExtensions="jpg,jpeg,pdf" MaxFileInputsCount="1" MaxFileSize="1048576" ToolTip="Actualizar Archivo"> <Localization Cancel="Cancelar" Remove="Quitar" Select="Archivo" /> </telerik:RadAsyncUpload> <asp:CustomValidator runat="server" ID="cvUploadFotoMaterial" ClientValidationFunction="validateUploadFoto" ErrorMessage="Fotografia es requerido" ForeColor="Red" ValidationGroup="vgGridFotos">*</asp:CustomValidator> </EditItemTemplate> </telerik:GridTemplateColumn>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("");
}