|
 |
aspdotnet_website_programming thread: DataGrid Problem on Page Refresh
Message #1 by "Kapil Joshi" <kscol_2000@y...> on Fri, 17 Jan 2003 12:10:03
|
|
I have created an ASPX page with a datagrid that has inline editing
facility. It also has the capability to add new records on the fly.
But if i update / add new records and refresh the page,
the last event is fired again and as a result the operations are repeated.
This causes multiple records to be inserted into the DB table.
How can we restrict these events to be fired on refresh of page?
Thanks in Advance.
~ Kapil
Message #2 by "Byron Leoppky" <bleoppky@a...> on Fri, 17 Jan 2003 10:18:20 -0600
|
|
IPostBackDataHandler.RaisePostDataChangedEvent
-----Original Message-----
From: Kapil Joshi [mailto:kscol_2000@y...]
Sent: January 17, 2003 12:10 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] DataGrid Problem on Page
Refresh
I have created an ASPX page with a datagrid that has inline editing
facility. It also has the capability to add new records on the fly.
But if i update / add new records and refresh the page,
the last event is fired again and as a result the operations are
repeated.
This causes multiple records to be inserted into the DB table.
How can we restrict these events to be fired on refresh of page?
Thanks in Advance.
~ Kapil
---
Professional Design Patterns in VB.NET:
Building Adaptable Applications
Want to know how design patterns bring reusable
design and adaptabilty to your applications? How
to recognize the need for a design pattern
solution? How to select, design, and implement
the right patterns? How parts of the .NET Framework
(like the .NET Data Providers and .NET Remoting)
take advantage of design patterns? This book
presents a practical approach to using design
patterns in VB.NET, by focusing on the relevance
of design patterns in the different tiers of a
distributed n-tier architecture.
http://www.wrox.com/books/1861006985.htm
|
|
 |