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

GridEditCommandColumn disable postback runs client side

1 Answer 162 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Alexis asked on 07 Sep 2012, 09:33 PM
I have a problem pressing the GridEditCommandColumn edit a radgrid, although I have turned off the bone postback is executed by the client side like the button performs the postback edit.
how to disable the postback in GridEditCommandColumn pressing edit.

code fragment:
<radG:RadGrid ID="RadGrid1" runat="server" GridLines="None" HierarchyLoadMode="Client"   Width="1600px" ShowStatusBar="true"
    AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" Skin="Bus"   >
    <PagerStyle Mode="NumericPages"></PagerStyle>
    <ClientSettings AllowDragToGroup="True" AllowGroupExpandCollapse="True"  AllowExpandCollapse = "true">
        <Selecting AllowRowSelect="True" ></Selecting>
    <MasterTableView Width="100%" AllowPaging="true"  HierarchyLoadMode="Client" DataKeyNames="CustomerID" AllowMultiColumnSorting="True"  AllowAutomaticDeletes="true">
        <DetailTables >
            <radG:GridTableView DataKeyNames="OrderID" Name="Orders" Width="100%" GridLines="Horizontal"
                AllowAutomaticUpdates="true" EditMode="InPlace">
                        <radG:GridEditCommandColumn FooterText="Edit"  UniqueName="EditCommandColumn"    ButtonType="ImageButton"  EditImageUrl ="../../img/b_editar_1.gif"  HeaderText="Edit"
                        HeaderStyle-Width="100px" UpdateText="Edit" >

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 12 Sep 2012, 11:22 AM
Hello Alexis,

Note that a server-side bound grid cannot perform editing without postback. If you do not want the whole page to be refreshed, you can use a RadAjax component:

If you want a component that offers fully functional editing client-side, you could try the Kendo Grid:

All the best,
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.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question