Dear All,

In a webform asp.net 3.5 page, there is a FormView with Insert, Edit template.

In the Insert template, there is an insert button.

How can I prevent multiple insert button click (prevent multiple records) ? By disabling the insert button after the first click? How to achieve this?

Handle the Inserted event and change mode of FormView by calling FormView.ChangeMode() method.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.