Hi,
I try to edit rows in a RadGrid with EditFormSettings :
When i invoke the click event from the button insert on ManteminientoGridFacturasGastos.ascx i'm not able to capture this event on the RadGrid.
For example, when i push the button cBtnInsertar i want to activate the event RadGrid1_InsertCommand on RadGrid but it not invoked.
I need help.
Best regards,
I try to edit rows in a RadGrid with EditFormSettings :
<
EditFormSettings
UserControlName
=
"Controles/ManteminientoGridFacturasGastos.ascx"
EditFormType
=
"WebUserControl"
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
>
</
EditColumn
>
</
EditFormSettings
>
When i invoke the click event from the button insert on ManteminientoGridFacturasGastos.ascx i'm not able to capture this event on the RadGrid.
<
td
>
<
telerik:RadButton
ID
=
"cBtnInsertar"
runat
=
"server"
Text
=
"Insertar"
CommandName
=
"Insert"
Visible='<%# (DataItem is Telerik.Web.UI.GridInsertionObject) %>' />
<
telerik:RadButton
ID
=
"cBtnModificar"
runat
=
"server"
Text
=
"Modificar"
CommandName
=
"Update"
Visible='<%# !(DataItem is Telerik.Web.UI.GridInsertionObject) %>' />
</
td
>
<
td
>
<
telerik:RadButton
ID
=
"cBtnCancelar"
runat
=
"server"
Text
=
"Cancelar"
CausesValidation
=
"false"
CommandName
=
"Cancel"
onclick
=
"cBtnCancelar_Click"
/>
</
td
>
For example, when i push the button cBtnInsertar i want to activate the event RadGrid1_InsertCommand on RadGrid but it not invoked.
I need help.
Best regards,