RadGrid Update Command Not Firing

2 posts, 0 answers
  1. Trs
    Trs avatar
    11 posts
    Member since:
    Jan 2013

    Posted 05 Feb 2013 Link to this post

    Hi,
    I'm working with radgrid to insert and edit data.Insert delete command working fine.But update command is not firing.Please help me to solve this.


    <%@ Page Title="" Language="C#" MasterPageFile="~/Development/MasterPageHome.master" AutoEventWireup="true" CodeFile="SuperAnnuationFundMaster.aspx.cs" Inherits="Development_SuperAnnuationFundMaster" %>
     
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
     
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
     
    .style2
    {
    width: 686px;
    height: 22px;
    }
    .style3
    {
    width: 686px;
    height: 14px;
    }
    </style>
     
     
    <script type="text/JavaScript">
    <!--
    window.onload = function () {
     
     
    document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_SPIN_1TextBox').disabled = true;
     
    };
    // -->
    </script>
     
     
     
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="left" style="width: 100%">
    <tr>
    <td align="left" class="style2" valign="top">
    <asp:Label ID="Label2" runat="server"
    Font-Size="13pt" Font-Names="Tahoma" Font-Bold="True"
    Font-Underline="False" ForeColor="#404040">Superannuation Fund Setup</asp:Label>
    </td>
    <td align="left" class="style2">
     </td>
    </tr>
    <tr>
    <td align="left" class="style3" valign="top">
    <asp:Label ID="Label11" runat="server" Font-Names="Tahoma"
    Font-Size="10pt"></asp:Label>
    <asp:Label ID="Label3" runat="server"></asp:Label>
    </td>
    <td align="left" class="style3">
     </td>
    </tr>
    <tr>
    <td align="left" style="width: 686px" valign="top" colspan="2">
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True"
    CellSpacing="0" GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource" Width="750px"
    OnInsertCommand="RadGrid1_InsertCommand" OnItemCommand="RadGrid1_ItemCommand"
    OnItemCreated="RadGrid1_ItemCreated" OnUpdateCommand="RadGrid1_UpdateCommand"
    OnPreRender="RadGrid1_PreRender" AutoPostback="True" OnItemUpdated="RadGrid1_ItemUpdated"
    OnDeleteCommand="RadGrid1_DeleteCommand" AllowPaging="True" AllowSorting="True"
    OnEditCommand="RadGrid1_EditCommand" PageSize="30">
    <ClientSettings>
    <Selecting CellSelectionMode="None" AllowRowSelect="True"></Selecting>
    </ClientSettings>
    <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" DataKeyNames="Id"
    ClientDataKeyNames="Id">
    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
    </RowIndicatorColumn>
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
    </ExpandCollapseColumn>
    <Columns>
    <telerik:GridBoundColumn DataField="Id" Display="False" EditFormColumnIndex="1" FilterControlAltText="Filter Id column"
    HeaderText="Id" UniqueName="Id" Visible="False">
    </telerik:GridBoundColumn>
    <telerik:GridTemplateColumn DataField="SFund_Code" FilterControlAltText="Filter SFund_Code column"
    HeaderText="Superannuation_Fund_Code" SortExpression="SFund_Code" UniqueName="SFund_Code">
    <EditItemTemplate>
    <table style="width: 100%">
    <tr>
    <td style="width: 5px; color: #FF0000;">
    *
    </td>
    <td style="width: 179px">
    <asp:TextBox ID="SFund_CodeTextBox" runat="server" Height="18px" Text='<%# Bind("SFund_Code") %>'
    Width="168px" MaxLength="12"></asp:TextBox>
    </td>
    <td align="left" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="SFund_CodeTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="SFund_CodeLabel" runat="server" Text='<%# Eval("SFund_Code") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Fund_Name" FilterControlAltText="Filter Fund_Name column"
    HeaderText="Fund_Name" SortExpression="Fund_Name" UniqueName="Fund_Name">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td style="width: 5px; color: #FF0000;">
    *
    </td>
    <td style="width: 179px">
    <asp:TextBox ID="Fund_NameTextBox" runat="server" Height="18px" Text='<%# Bind("Fund_Name") %>'
    Width="168px" MaxLength="76"></asp:TextBox>
    </td>
    <td align="left" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Fund_NameTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="Fund_NameLabel" runat="server" Text='<%# Eval("Fund_Name") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Address_Line_1" FilterControlAltText="Filter Address_Line_1 column"
    HeaderText="Address_Line_1" SortExpression="Address_Line_1" UniqueName="Address_Line_1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td style="width: 5px; color: #FF0000;">
    *
    </td>
    <td style="width: 179px">
    <asp:TextBox ID="Address_Line_1TextBox" runat="server" Height="18px" Text='<%# Bind("Address_Line_1") %>'
    Width="168px" MaxLength="38"></asp:TextBox>
    </td>
    <td align="left" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Fund_NameTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="Address_Line_1Label" runat="server" Text='<%# Eval("Address_Line_1") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Address_Line_2" FilterControlAltText="Filter Address_Line_2 column"
    HeaderText="Address_Line_2" SortExpression="Address_Line_2" UniqueName="Address_Line_2"
    Visible="False">
    <EditItemTemplate>
    <table style="width: 100%">
    <tr>
    <td style="width: 5px; color: #FF0000;">
       
    </td>
    <td style="width: 179px">
    <asp:TextBox ID="Address_Line_2TextBox" runat="server" Height="18px" Text='<%# Bind("Address_Line_2") %>'
    Width="168px" MaxLength="38"></asp:TextBox>
    </td>
    <td align="left" valign="top">
      
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="Address_Line_2Label" runat="server" Text='<%# Eval("Address_Line_2") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Suburb" FilterControlAltText="Filter Suburb column"
    HeaderText="Suburb" SortExpression="Suburb" UniqueName="Suburb">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px;">
    <tr>
    <td class="style7" style="color: #FF0000;">
    *
    </td>
    <td class="style8">
    <asp:TextBox ID="SuburbTextBox" runat="server" Height="18px" Text='<%# Bind("Suburb") %>'
    Width="168px" MaxLength="27"></asp:TextBox>
    </td>
    <td align="left" class="style9" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="SuburbTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
                 
    <asp:Label ID="SuburbLabel" runat="server" Text='<%# Eval("Suburb") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="State" FilterControlAltText="Filter State column"
    HeaderText="State" SortExpression="State" UniqueName="State" Visible="False">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <telerik:RadComboBox ID="StateTextBox" runat="server" SelectedValue='<%# Bind("State") %>'
    Width="174px">
    <Items>
    <telerik:RadComboBoxItem runat="server" Selected="True" />
    <telerik:RadComboBoxItem runat="server" Text="ACT" Value="ACT" />
    <telerik:RadComboBoxItem runat="server" Text="NSW" Value="NSW" />
    <telerik:RadComboBoxItem runat="server" Text="NT" Value="NT" />
    <telerik:RadComboBoxItem runat="server" Text="QLD" Value="QLD" />
    <telerik:RadComboBoxItem runat="server" Text="SA" Value="SA" />
    <telerik:RadComboBoxItem runat="server" Text="TAS" Value="TAS" />
    <telerik:RadComboBoxItem runat="server" Text="VIC" Value="VIC" />
    <telerik:RadComboBoxItem runat="server" Text="WA" Value="WA" />
    </Items>
    </telerik:RadComboBox>
    </td>
    <td align="left" class="style9" valign="top">
      
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="StateLabel" runat="server" Text='<%# Eval("State") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Postcode" DataType="System.Int32" FilterControlAltText="Filter Postcode column"
    HeaderText="Postcode" SortExpression="Postcode" UniqueName="Postcode" Visible="False">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
    *
    </td>
    <td class="style8">
    <asp:TextBox ID="PostcodeTextBox" runat="server" Height="18px" Text='<%# Bind("Postcode") %>'
    Width="168px" MaxLength="4"></asp:TextBox>
    </td>
    <td align="left" class="style9" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="PostcodeTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="PostcodeTextBox"
    ErrorMessage="!" ToolTip="Invalid Characters" ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="PostcodeLabel" runat="server" Text='<%# Eval("Postcode") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Country" FilterControlAltText="Filter Country column"
    HeaderText="Country" SortExpression="Country" UniqueName="Country" Visible="False">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <asp:TextBox ID="CountryTextBox" runat="server" Height="18px" Text='<%# Bind("Country") %>'
    Width="168px" MaxLength="20"></asp:TextBox>
    </td>
    <td align="left" class="style9" valign="top">
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="CountryLabel" runat="server" Text='<%# Eval("Country") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Telephone" FilterControlAltText="Filter Telephone column"
    HeaderText="Telephone" SortExpression="Telephone" UniqueName="Telephone">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <telerik:RadMaskedTextBox ID="TelephoneTextBox" runat="server" EnableSingleInputRendering="True"
    LabelWidth="64px" Mask="(###) ###-####" Text='<%# Bind("Telephone") %>' TextWithLiterals="() -"
    Width="174px" SelectionOnFocus="CaretToBeginning">
    </telerik:RadMaskedTextBox>
    </td>
    <td align="left" class="style9" valign="top">
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="TelephoneLabel" runat="server" Text='<%# Eval("Telephone") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Email" FilterControlAltText="Filter Email column"
    HeaderText="Email" SortExpression="Email" UniqueName="Email" EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <asp:TextBox ID="EmailTextBox" runat="server" Height="18px" Text='<%# Bind("Email") %>'
    Width="168px" MaxLength="60"></asp:TextBox>
    </td>
    <td align="left" class="style9" valign="top">
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="EmailTextBox"
    ErrorMessage="!" ToolTip="Invalid Email Address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="EmailLabel" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Website" FilterControlAltText="Filter Website column"
    HeaderText="Website" SortExpression="Website" UniqueName="Website" Visible="False"
    EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <asp:TextBox ID="WebsiteTextBox" runat="server" Height="18px" Text='<%# Bind("Website") %>'
    Width="168px" MaxLength="80"></asp:TextBox>
    </td>
    <td align="left" class="style9" valign="top">
      
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="WebsiteLabel" runat="server" Text='<%# Eval("Website") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="ABN" FilterControlAltText="Filter ABN column"
    HeaderText="ABN" SortExpression="ABN" UniqueName="ABN" EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
    *
    </td>
    <td class="style8">
    <telerik:RadMaskedTextBox ID="ABNTextBox" runat="server" EnableSingleInputRendering="True"
    LabelWidth="64px" Mask="###########" Text='<%# Bind("ABN") %>' Width="174px"
    SelectionOnFocus="CaretToBeginning">
    </telerik:RadMaskedTextBox>
    </td>
    <td align="left" class="style9" valign="top">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="ABNTextBox"
    ErrorMessage="!" SetFocusOnError="True" ToolTip="Required Field"></asp:RequiredFieldValidator>
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="ABNLabel" runat="server" Text='<%# Eval("ABN") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="SMSF" DataType="System.Boolean" FilterControlAltText="Filter SMSF column"
    HeaderText="SMSF" SortExpression="SMSF" UniqueName="SMSF" Visible="False" EditFormColumnIndex="1"
    DefaultInsertValue="false">
    <EditItemTemplate>
       
    <script language="javascript" type="text/javascript">
     
     
     
    function checkk(oSrouce, args) {
     
    var c = document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_CheckBox1');
     
    if (c.checked) {
     
    var spin = document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_SPIN_1TextBox').disabled = false;
    document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_SPIN_1TextBox').focus();
    var AccountNo = document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_Account_NoTextBox').value;
     
    if (!AccountNo.match(/\S/))
     
    args.IsValid = false;
     
    else
     
    args.IsValid = true;
     
     
     
    return true;
     
    }
     
     
    else {
    document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_SPIN_1TextBox').disabled = true;
    return false;
    }
     
     
     
     
    }
     
     
    function ValidateCheckBox(sender, args) {
    if (document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_CheckBox1').checked == true) {
     
    var AccountNo = document.getElementById('ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl02_ctl02_Account_NoTextBox').value;
     
     
    if (!AccountNo.match(/\S/))
     
    args.IsValid = false;
     
    else
     
    args.IsValid = true;
     
     
     
    }
     
    else {
    args.IsValid = true;
    }
    }
     
     
    </script>
    <asp:CheckBox ID="CheckBox1" runat="server" onchange="checkk()" Checked='<%# Bind("SMSF") %>' />
    <br />
    </EditItemTemplate>
    <ItemTemplate>
       
    <script language="javascript" type="text/javascript">
     
     
     
     
    </script>
    <asp:CheckBox ID="CheckBox2" runat="server" onchange="check" Checked='<%# Bind("SMSF") %>' />
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="SPIN_1" FilterControlAltText="Filter SPIN_1 column"
    HeaderText="SPIN" SortExpression="SPIN_1" UniqueName="SPIN_1" Visible="False"
    EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 0px">
    <tr>
    <td style="color: #FF0000;" class="style4">
       
    </td>
    <td class="style5">
    <telerik:RadMaskedTextBox ID="SPIN_1TextBox" runat="server" EnableSingleInputRendering="True"
    LabelWidth="64px" Mask="LLL####LL" PromptChar="#" Text='<%# Bind("SPIN_1") %>'
    Width="174px" SelectionOnFocus="CaretToBeginning">
    </telerik:RadMaskedTextBox>
    </td>
    <td align="left" valign="top" class="style6">
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="SPIN_1Label" runat="server" Text='<%# Eval("SPIN_1") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Account_No" FilterControlAltText="Filter BSB_1 column"
    HeaderText="Account_No" SortExpression="Account_No" UniqueName="Account_No" Visible="False"
    EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <asp:TextBox ID="Account_NoTextBox" runat="server" Height="18px" Text='<%# Bind("ABN") %>'
    Width="168px" MaxLength="9"></asp:TextBox>
    <asp:CustomValidator ID="CustomValidator2" runat="server" ClientValidationFunction="ValidateCheckBox"
    ErrorMessage="!" ToolTip="Mandotory If SMSF tickbox is seton"></asp:CustomValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator19" runat="server"
    ControlToValidate="Account_NoTextBox" ErrorMessage="!" ToolTip="Invalid Characters"
    ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
    </td>
    <td align="left" class="style9" valign="top">
      
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="Account_NoLabel" runat="server" Text='<%# Eval("Account_No") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="BSB_1" FilterControlAltText="Filter Account_No column"
    HeaderText="BSB" SortExpression="Account_No" UniqueName="BSB_1" Visible="False"
    DataType="System.Int32" EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 0px">
    <tr>
    <td class="style4" style="color: #FF0000;">
       
    </td>
    <td class="style5">
    <telerik:RadMaskedTextBox ID="BSB_1TextBox" runat="server" EnableSingleInputRendering="True"
    LabelWidth="64px" Mask="###-###" PromptChar="#" Text='<%# Bind("BSB_1") %>' Width="174px"
    SelectionOnFocus="CaretToBeginning">
    </telerik:RadMaskedTextBox>
    </td>
    <td align="left" class="style6" valign="top">
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="BSB_1Label" runat="server" Text='<%# Eval("BSB_1") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridTemplateColumn DataField="Account_Name" FilterControlAltText="Filter Account_Name column"
    HeaderText="Account_Name" SortExpression="Account_Name" UniqueName="Account_Name"
    Visible="False" EditFormColumnIndex="1">
    <EditItemTemplate>
    <table style="width: 100%; height: 19px">
    <tr>
    <td class="style7" style="color: #FF0000;">
       
    </td>
    <td class="style8">
    <asp:TextBox ID="Account_Nametxtbx" runat="server" Height="18px" Text='<%# Bind("Account_Name") %>'
    Width="168px" MaxLength="32"></asp:TextBox>
    <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ValidateCheckBox"
    ErrorMessage="!" ToolTip="Mandotory If SMSF tickbox is seton"></asp:CustomValidator>
    </td>
    <td align="left" class="style9" valign="top">
    </td>
    </tr>
    </table>
    </EditItemTemplate>
    <ItemTemplate>
    <asp:Label ID="BPAY_Biller_CodeLabel" runat="server" Text='<%# Eval("Account_Name") %>'></asp:Label>
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    </Columns>
    <EditFormSettings ColumnNumber="3">
    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
    </EditColumn>
    </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
    </telerik:RadGrid>
    </td>
    </tr>
    <tr>
    <td style="width: 686px" colspan="2">
     </td>
    </tr>
    <tr>
    <td style="width: 686px" colspan="2">
     </td>
    </tr>
    <tr>
    <td style="width: 686px" colspan="2">
     </td>
    </tr>
    </table>
    </asp:Content>
    <asp:Content ID="Content3" ContentPlaceHolderID="contentRightpanel" Runat="Server">
    </asp:Content>
  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 07 Feb 2013 Link to this post

    Hi,

    I was not able to reproduce your issue. I prepared a small sample where I demonstrates which of the three events is fired at the moment. Give it a try and let me know how it differs from your real setup.

    Kind regards,
    Kostadin
    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