Hi,
I have a button added in commanditemtemplate.
How to add the code behind for the btnAddItem?
Thanks
I have a button added in commanditemtemplate.
<
MasterTableView
DataKeyNames
=
"ProductNumber"
ShowHeadersWhenNoRecords
=
"true"
CommandItemDisplay
=
"Bottom"
EnableNoRecordsTemplate
=
"false"
AutoGenerateColumns
=
"false"
EditMode
=
"InPlace"
CommandItemSettings-ShowRefreshButton
=
"false"
>
<
CommandItemTemplate
>
<
asp:Button
ID
=
"btnAddItem"
Text
=
"Add New Item"
runat
=
"server"
CommandName
=
"InitInsert"
>
</
asp:Button
>
</
CommandItemTemplate
>
<
columns
>
</
columns
>
How to add the code behind for the btnAddItem?
Thanks