Click to See Complete Forum and Search --> : I need the page to be refreshed after a record is deleted


Funkymonkey
03-14-2006, 04:49 AM
This is all I have for a delete button column:

<asp:LinkButton ID="LinkButton1" Runat="server" OnClientClick="return confirm('Are you sure you want to delete this record?');" CommandName="Delete">
<HeaderStyle Width="4%" CssClass="col">Delete</headerstyle>
</asp:LinkButton>

But I need the page to be refreshed because I have a counter which needs to be refreshed every time a record is deleted.

Thanks

Funkymonkey
03-14-2006, 10:31 AM
Done now, I used the onrowdeleting event