I like the Edit (Update, Cancel) functionality built into the gridview, but
I'd like to control what happens when the Update is clicked. I would like
to prompt the user with something like this "category has changed from
'something' to 'something else', shall I process related records? (yes/no)".
I would also like to confirm when a user clicks Delete.
Here's how I currently have the gridview configured:
<asp:GridView ID="gvMyGridVie w" runat="server" AllowSorting="T rue"
AutoGenerateCol umns="False" DataKeyNames="B igId" DataSourceID="s dsMonday">
<Columns>
<asp:BoundFie ld DataField="Stag e" HeaderText="Des cription"
SortExpression= "Stage" />
<asp:CommandFie ld ShowEditButton= "True" />
<asp:CommandFie ld ShowDeleteButto n="True" />
</Columns>
</asp:GridView>
Thanks.
I'd like to control what happens when the Update is clicked. I would like
to prompt the user with something like this "category has changed from
'something' to 'something else', shall I process related records? (yes/no)".
I would also like to confirm when a user clicks Delete.
Here's how I currently have the gridview configured:
<asp:GridView ID="gvMyGridVie w" runat="server" AllowSorting="T rue"
AutoGenerateCol umns="False" DataKeyNames="B igId" DataSourceID="s dsMonday">
<Columns>
<asp:BoundFie ld DataField="Stag e" HeaderText="Des cription"
SortExpression= "Stage" />
<asp:CommandFie ld ShowEditButton= "True" />
<asp:CommandFie ld ShowDeleteButto n="True" />
</Columns>
</asp:GridView>
Thanks.
Comment