Hello
I have a grid that i want to insert new rows into but i dont want the rows committing to the database. This is the top of my grid.
Is this possible?
I want to store the inserted values in viewstate.
Thanks In advance
I have a grid that i want to insert new rows into but i dont want the rows committing to the database. This is the top of my grid.
Is this possible?
<
telerik:RadGrid
runat
=
"server"
ID
=
"grdInvoiceLines"
AllowPaging
=
"True"
AutoGenerateColumns
=
"false"
GridLines
=
"Both"
ShowFooter
=
"true"
ShowHeader
=
"true"
AllowMultiRowSelection
=
"false"
AllowAutomaticDeletes
=
"True"
AllowAutomaticInserts
=
"True"
PageSize
=
"10"
AllowAutomaticUpdates
=
"True"
OnItemUpdated
=
"grdInvoiceLines_ItemUpdated"
OnItemDeleted
=
"grdInvoiceLines_ItemDeleted"
OnItemInserted
=
"grdInvoiceLines_ItemInserted"
OnDataBound
=
"grdInvoiceLines_DataBound"
>
<
MasterTableView
DataKeyNames
=
"InvoiceLineId"
CommandItemDisplay
=
"Top"
ShowHeadersWhenNoRecords
=
"true"
EditMode
=
"InPlace"
AllowAutomaticUpdates
=
"True"
>
I want to store the inserted values in viewstate.
Thanks In advance