That's built-in behavior of Refresh button. It always repeats the last
postback. You can't change it. You can protect against it on server side if
you include something like a timestamp in the postback. Then you can compare
the timestamp from the new postback with the one from the previous postback.
If they match, you got Refresh click.
"srinivas" <srinivasdiscussions.microsoft.com> wrote in message
> I'm working with datagrid. And users can add "Remarks" by clicking thenot> link button in the footer template.
> It's working fine like when the user enter the remarks and click on [Add],
> the remarks are getting added.
> But if we refresh the page, a new record is getting added, which shouldwe> happen
> I do not have any unique columns (other than Remark Id) in the table sine> can add the remarks any number of times.
> Any suggestion in this regards is highly appreciated.