Below I have an image of my running page.
I have my Update button in Edit.ascx
<
td
align
=
"right"
>
<
asp:Button
ID
=
"btnUpdate"
Text
=
"Update"
runat
=
"server"
CommandName
=
"Update"
Visible='<%# Not (TypeOf DataItem Is Telerik.Web.UI.GridInsertionObject) %>'>
</
asp:Button
>
<
asp:button
id
=
"btnCancel"
text
=
"Cancel"
runat
=
"server"
causesvalidation
=
"False"
commandname
=
"Cancel"
></
asp:button
>
</
td
>
And I have my server side code: in exit.ascx.vb
Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnUpdate.Click
'Set Varibles
.
.
.
End Sub
Telerick grid in view.ascx
.
.
.
<
telerik:GridEditCommandColumn
UniqueName
=
"EditCommandColumn"
>
</
telerik:GridEditCommandColumn
>
</
Columns
>
<
EditFormSettings
UserControlName
=
"desktopModules/AAUMembershipHist01/Edit.ascx"
EditFormType
=
"WebUserControl"
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
>
</
EditColumn
>
</
EditFormSettings
>
.
.
.
Running my trace I find that the Server side code never gets executed.
Doing something wrong. Can someone point my in the right direction?